Terraform best practices

From wikieduonline
Jump to navigation Jump to search

Best practices from Google Cloud team

https://cloud.google.com/docs/terraform/best-practices-for-terraform

Operations

  • Don't modify Terraform state manually.
  • Always plan first, terraform plan
  • Implement an automated pipeline.
  • Use service account credentials for CI.
  • Avoid importing existing resources.
  • Regularly review version pins.
  • Use application default credentials when running locally.
  • Set aliases to Terraform.

Related

See also

Advertising: