To ensure our Terraform code is readable and consistent, we should automate code formatting. The terraform fmt command should be run as part of our CI pipeline. This will automatically format all .tf files according to the canonical HCL style, reducing cognitive load during code reviews and maintaining a clean codebase.
Acceptance Criteria:
To ensure our Terraform code is readable and consistent, we should automate code formatting. The terraform fmt command should be run as part of our CI pipeline. This will automatically format all .tf files according to the canonical HCL style, reducing cognitive load during code reviews and maintaining a clean codebase.
Acceptance Criteria: