Skip to content

Conversation

@lantrix
Copy link

@lantrix lantrix commented Sep 18, 2022

Change:

  • terraform 0.13 and onwards requires new providers declaration
  • shared_credentials_file is deprecated

Required commands to upgrade existing state from v0.12 to >= v0.13, tested with v1.2.9:

terraform state replace-provider -- -/random hashicorp/random
terraform state replace-provider -- -/archive hashicorp/archive
terraform state replace-provider -- -/aws hashicorp/aws
terraform init

A terraform version command then shows:

Terraform v1.2.9
on darwin_amd64
+ provider registry.terraform.io/hashicorp/archive v2.2.0
+ provider registry.terraform.io/hashicorp/aws v4.31.0
+ provider registry.terraform.io/hashicorp/random v3.4.3

There are a bunch of other AWS deprecated items, but I'll pop them in another PR after this to keep it cleaner.

Change from terraform 0.13 and onwards
@lantrix
Copy link
Author

lantrix commented Sep 18, 2022

I've successfully redeployed with v1.2.9

@lantrix
Copy link
Author

lantrix commented Jul 6, 2023

I guess this is no longer being maintained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant