Advertisement
Guest User

Untitled

a guest
Jun 1st, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1.  
  2. Folder structure
  3.  
  4. ```
  5. /project
  6. |---> /terraform
  7. | |--> /_env/aws # .tfvars file
  8. | |--> /aws # .tf files
  9. |---> /packer
  10. |---> bin/gen_ssh.sh
  11. ```
  12. Plan and Apply
  13. ```
  14. terraform get
  15. terraform plan -input=false -detailed-exitcode
  16. terraform apply
  17. ```
  18.  
  19. Taint a specific resource in a module
  20.  
  21. ```
  22. terraform taint -module=aws.network.bastion aws_instance.bastion
  23. terraform untaint -module=aws.network.bastion aws_instance.bastion
  24. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement