-
-
Notifications
You must be signed in to change notification settings - Fork 347
feat!: Upgrade min AWS provider and Terraform versions to 6.0 and 1.5.7 respectively #256
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
feat!: Upgrade min AWS provider and Terraform versions to 6.0 and 1.5.7 respectively #256
Conversation
@bryantbiggs could you please check? or someone else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the required changes to all versions.tf
files - update the minimum Terraform version and AWS provider version.
@antonbabenko updated |
This PR is included in version 7.0.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
As stated in the closed (not fixed) issue: version 6.0.0 of the AWS provider has deprecated the name attribute on aws_region, and a warning is now shown on ${data.aws_region.current.name}.
This change uses
region
attribute instead ofname
to fix the deprecation warning.Motivation and Context
Fixes #255
Important changes
Terraform AWS Lambda module version has been upgraded to 8.0.1, so previously managed IAM policy and attachment should be removed from the state file to avoid cycle errors:
Also, variable
var.iam_policy_path
has been removed.