Folder structure
/project
|---> /terraform
| |--> /_env/aws # .tfvars file
| |--> /aws # .tf files
|---> /packer
|---> bin/gen_ssh.sh
Plan and Apply
terraform get
terraform plan -input=false -detailed-exitcode
terraform apply
Taint a specific resource in a module
terraform taint -module=aws.network.bastion aws_instance.bastion
terraform untaint -module=aws.network.bastion aws_instance.bastion