Skill 4.2.3
Resource addresses
Key Concepts
Addresses have the form [module.MODULE_NAME[KEY].]TYPE.NAME[KEY], for example aws_instance.web, aws_instance.web[1], module.network.aws_vpc.this and module.app["eu"].aws_instance.web[0]. Data sources are addressed with the data. prefix.
Addresses are used with -target and -replace, with terraform state list, show, mv and rm, with terraform import, and in the to and from arguments of import, moved and removed blocks. In a shell, quote addresses that contain square brackets and double quotes.