You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In previous projects, we have extensively used Terraform variables to manage application configurations and environment variables. However, this creates a dependency between the infrastructure repository and Terraform Cloud, and we lose the ability to audit the changes made, i.e. the values of Terraform Cloud variables are mistakenly changed.
Recently, we adopted a new approach for the same purpose by using Terraform locals in a project (example implementation. We should update the infrastructure-template to follow this approach so that it can be used in future projects.
Example, instead of using a variable (and the value is controlled by a Terraform cloud variable) to hold the RDS instance type
Why
In previous projects, we have extensively used Terraform variables to manage application configurations and environment variables. However, this creates a dependency between the infrastructure repository and Terraform Cloud, and we lose the ability to audit the changes made, i.e. the values of Terraform Cloud variables are mistakenly changed.
Recently, we adopted a new approach for the same purpose by using Terraform locals in a project (example implementation. We should update the infrastructure-template to follow this approach so that it can be used in future projects.
Example, instead of using a variable (and the value is controlled by a Terraform cloud variable) to hold the RDS instance type
it should be controlled by a local value instead
Who Benefits?
The text was updated successfully, but these errors were encountered: