stavxyz / terraform-aws-backend

A Terraform module for your AWS Backend + a guide for bootstrapping your terraform managed project
Apache License 2.0
53 stars 32 forks source link

lock_table renamed to dynamodb_table #23

Open stavxyz opened 3 years ago

stavxyz commented 3 years ago
Error: Failed to decode current backend config

The backend configuration created by the most recent run of "terraform init"
could not be decoded: unsupported attribute "lock_table". The configuration
may have been initialized by an earlier version that used an incompatible
configuration structure. Run "terraform init -reconfigure" to force
re-initialization of the backend.
stavxyz commented 3 years ago

And requires a terraform init -reconfigure

stavxyz commented 3 years ago

Be sure to update https://github.com/stavxyz/terraform-aws-backend/blob/master/versions.tf so that the correct version of terraform is required that corresponds to the name change