Run terraform apply to perform a deployment. Run "terraform init -reconfigure" to force May have been initialized by an earlier version that used an incompatibleĬonfiguration structure. The backend configuration created by the most recent run of "terraform init"Ĭould not be decoded: unsupported attribute "lock_table". The -reconfigure flag is required, otherwise you might see an error like: Error: Failed to decode current backend config
#Terraform required version upgrade#
Make sure to check out the documentation on batch usage of 0.13upgrade, which will allow you to upgrade all of your Terraform code with one command. Terraform provides a 0.13upgrade command as part of version 0.13 to handle automatically upgrading your code. Terraform 0.13 does not support some of the syntax from previous Terraform versions, so you need to upgrade your deployment code for compatibility. We recommend using Terraform Version Manager tfenv to manage your installed versons of Terraform, but this is not required. Cumulus' deployment code has already been updated for compatibility with version 0.13. Review the Terraform v0.13 release notes to prepare for any breaking changes that may affect your custom deployment code.You should do a terraform plan to see if you have any pending changes for your deployment (for both the data-persistence-tf and cumulus-tf modules), and if so, run a terraform apply before doing the upgrade to Terraform 0.13.6.Follow the Terraform guidance for what to do before upgrading, notably ensuring that you have no pending changes to your Cumulus deployments before proceeding.
#Terraform required version how to#
This document contains instructions on how to perform the uprade for your deployments. The reason for only supporting one specific Terraform version at a time is to avoid deployment errors than can be caused by deploying to the same target with different Terraform versions.Ĭumulus is upgrading its supported version of Terraform from 0.12.12 to 0.13.6. Cumulus pins its support to a specific version of Terraform see: deployment documentation.