hashicorp / terraform-exec

Terraform CLI commands via Go.
https://pkg.go.dev/github.com/hashicorp/terraform-exec
Mozilla Public License 2.0
661 stars 111 forks source link

Add migrate state flag to init command. #460

Open Lucasjuv opened 4 months ago

Lucasjuv commented 4 months ago

Add support for -migrate-state flag after 0.15.4 where the migration is not automatic anymore.

Addresses issue #355

Another use case is to create the backend infrastructure (E.G. S3 and DynamoDB) and then migrate the state and apply other targets.