Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AWS provider for terraform >= v0.13 #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

@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