aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
631 stars 420 forks source link

Update Terraform Version #335

Closed raben0 closed 1 year ago

raben0 commented 1 year ago

Terraform Version & Prov:

AFT Version: 1.7.0

Terraform Version & Provider Versions Please provide the outputs of terraform version and terraform providers from within your AFT environment

terraform version

v0.15.5

terraform providers

+ create

Bug Description I would like to update the terraform version being used by CodeBuild to the newest version. The version it is using now is the version v0.15.5. How do I do it? Do I need to change anything directly to AWS, update the value of the variable /aft/config/terraform/version do the trick, or there is a way to do it via .tf?

v-rosa commented 1 year ago

You have a variable in the aft module which allow to change it.

raben0 commented 1 year ago

If I change it there it will start to use this version instead? No need for more settings?

v-rosa commented 1 year ago

Yep but better to take a look by yourself, https://github.com/search?q=repo%3Aaws-ia%2Fterraform-aws-control_tower_account_factory+terraform_version&type=code

snebhu3 commented 1 year ago

@raben0 thank you for reaching out. You can specify the Terraform version you want to use in your environment by setting the variable terraform_version during AFT deployment / AFT update.