-
-
Notifications
You must be signed in to change notification settings - Fork 700
feat!: Bump min supported version of Terraform and AWS to 1.5.7
and 6.5
respectively
#411
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
Merged
bryantbiggs
merged 7 commits into
terraform-aws-modules:master
from
bryantbiggs:feat/upgrade
Sep 16, 2025
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
bb76bb1
feat!: Bump min supported version of Terraform and AWS to `1.5.7` and…
bryantbiggs c54a696
feat: Add variable type definitions
bryantbiggs de14c89
docs: Add UPGRADE guide
bryantbiggs 293714d
fix: Correct code syntax highlight scheme
bryantbiggs 7aae878
fix: Lower ACM module version to avoid needing Terraform `1.10`
bryantbiggs 279c8f3
Update docs/UPGRADE-10.0.md
bryantbiggs ba1e1cf
fix: Revert temporary changes to example `variables.tf`
bryantbiggs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Upgrade from v9.x to v10.x | ||
|
||
Please consult the `examples` directory for reference example configurations. If you find a bug, please open an issue with supporting configuration to reproduce. | ||
|
||
## List of backwards incompatible changes | ||
|
||
- Terraform `v1.5.7` is now minimum supported version | ||
- AWS provider `v6.5` is now minimum supported version | ||
|
||
## Additional changes | ||
|
||
### Added | ||
|
||
- Support for `region` parameter to specify the AWS region for the resources created if different from the provider region. | ||
|
||
### Modified | ||
|
||
- Variable definitions now contain detailed `object` types in place of the previously used any type. | ||
- Security group rules now use a default naming scheme of `<security-group-name>-<map-key>` unless a more specific rule name is provided. | ||
- `rule.actions.type` has been replaced with `rule.actions.<type>`. See before/after below for more details. | ||
- `query_string` supports a list of key:value pairs; type definition updated to support this (i.e. was `map(string)` and is now `list(map(string))`) | ||
|
||
### Removed | ||
|
||
- None | ||
|
||
### Variable and output changes | ||
|
||
1. Removed variables: | ||
|
||
- None | ||
|
||
2. Renamed variables: | ||
|
||
- None | ||
|
||
3. Added variables: | ||
|
||
- None | ||
|
||
4. Removed outputs: | ||
|
||
- None | ||
|
||
5. Renamed outputs: | ||
|
||
- None | ||
|
||
6. Added outputs: | ||
|
||
- None | ||
|
||
## Upgrade Migrations | ||
|
||
### Diff of Before vs After | ||
|
||
```diff | ||
module "alb" { | ||
source = "terraform-aws-modules/alb/aws" | ||
- version = "9.17.0" | ||
+ version = "10.0.0" | ||
|
||
listeners = { | ||
ex-http-https-redirect = { | ||
port = 80 | ||
protocol = "HTTP" | ||
redirect = { | ||
port = "443" | ||
protocol = "HTTPS" | ||
status_code = "HTTP_301" | ||
} | ||
|
||
rules = { | ||
ex-fixed-response = { | ||
priority = 3 | ||
actions = [{ | ||
# Same for all action types, not just `fixed_response` | ||
- type = "fixed-response" | ||
+ fixed_response = { | ||
content_type = "text/plain" | ||
status_code = 200 | ||
message_body = "This is a fixed response" | ||
+ } | ||
}] | ||
|
||
conditions = [{ | ||
- query_string = { | ||
+ query_string = [{ | ||
key = "weighted" | ||
value = "true" | ||
- } | ||
+ }] | ||
}] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Terraform State Moves | ||
|
||
None required |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.