Skip to content

Conversation

schniber
Copy link
Contributor

@schniber schniber commented Jun 18, 2025

Description

  • Terraform v1.5.7 is now minimum supported version
  • AWS provider v6.0.0 is now minimum supported version
  • Support for region parameter to specify the AWS region for the resources created if different from the provider region.
  • any variable types have been replaced with full variable definitions using optional() variable attributes

Motivation and Context

  • Recent AWS provider major version v6.0 support, along with the addition of specifying region in resources without having to use aliased providers

Breaking Changes

  • Yes, besides the min supported versions:
    • key_statements.conditions has been changed to key_statement.condition to match the underlying API
    • grants.constraints support multiple constraints and therefore its type has been changed to a list. You can simply wrap your current constraints in brackets ([]) to resolve any diffs; see the updated example in this PR

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@schniber schniber changed the title feat: enhanced support for regions added in the terraform aws provider v6 Feat: enhanced support for regions added in the terraform aws provider v6 Jun 18, 2025
@schniber schniber changed the title Feat: enhanced support for regions added in the terraform aws provider v6 feat: Enhanced support for regions added in the terraform aws provider v6 Jun 18, 2025
@schniber
Copy link
Contributor Author

Hello team,

Thanks a lot for your review.

Let me know if there's anything to fix / change.

Bests.

@bryantbiggs
Copy link
Member

thank you - this is a breaking change and given that the provider is very recent, we will probably wait to see the level of stability and what other changes need to be made here as part of a breaking change before this is merged

@schniber
Copy link
Contributor Author

Perfect thanks @bryantbiggs, yes that's wise. let's wait and see.
At least this will be there and ready :)

@bryantbiggs bryantbiggs changed the title feat: Enhanced support for regions added in the terraform aws provider v6 feat!: Upgrade AWS provider and min required Terraform version to 6.0 and 1.5.7 respectively Jul 5, 2025
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@bryantbiggs bryantbiggs merged commit 210736c into terraform-aws-modules:master Jul 5, 2025
8 checks passed
antonbabenko pushed a commit that referenced this pull request Jul 5, 2025
## [4.0.0](v3.1.1...v4.0.0) (2025-07-05)

### ⚠ BREAKING CHANGES

* Upgrade AWS provider and min required Terraform version to `6.0` and `1.5.7` respectively (#36)

### Features

* Upgrade AWS provider and min required Terraform version to `6.0` and `1.5.7` respectively ([#36](#36)) ([210736c](210736c))
@antonbabenko
Copy link
Member

This PR is included in version 4.0.0 🎉

Copy link

github-actions bot commented Aug 5, 2025

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants