Terraform Version 1210/28/2021
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.Run the 0.13upgrade command until you have no more necessary updates to your deployment code. We recommend using Terraform Version Manager tfenv to manage your installed versons of Terraform, but this is not required.Terraform 0.13 does not support some of the syntax from previous Terraform versions, so you need to upgrade your deployment code for compatibility.Terraform provides a 0.13upgrade command as part of version 0.13 to handle automatically upgrading your code. Install Terraform version 0.13.6.Run "terraform init -reconfigure" to forceRun terraform apply to perform a deployment.WARNING: Even if Terraform says that no resource changes are pending, running the apply using Terraform version 0.13.6 will modify your backend state from version 0.12.12 to version 0.13.6 without requiring approval. The configurationMay have been initialized by an earlier version that used an incompatibleConfiguration structure. The -reconfigure flag is required, otherwise you might see an error like: Error: Failed to decode current backend configThe backend configuration created by the most recent run of "terraform init"Could not be decoded: unsupported attribute "lock_table". For the data-persistence-tf and cumulus-tf directories, take the following steps:Run terraform init -reconfigure. If you are using tfenv, you can switch versions by running tfenv use 0.13.6.
![]() ![]() Terraform Version 12 Upgrade All Of
0 Comments
Leave a Reply.AuthorMilton ArchivesCategories |