Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement