Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 540 Bytes

File metadata and controls

23 lines (12 loc) · 540 Bytes

Terraform Best Practices

  • Run terraform command with var-file

  • Enable version control on terraform state files bucket

  • Manage multiple Terraform modules and environments easily with Terragrunt

  • Retrieve state meta data from a remote backend

  • Use shared modules

  • Use terraform import to include as many resources you can

  • Avoid hard coding the resources

  • Validate and format terraform code

References

  1. Terraform Best Practices 🌐