feat!: Upgrade AWS provider and min required Terraform version to 6.0
and 1.10
respectively
#436
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.
Description
List of backwards incompatible changes
ami_ssm_parameter
was changed from"/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2"
to"/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64"
. AL2 is approaching end of life.Additional changes
Added
create_security_group = false
.region
parameter to specify the AWS region for the resources created if different from the provider region.Modified
object
types in place of the previously usedany
type.ebs_block_device
argument has been removed in favor ofebs_volumes
which is a map of EBS volumes created throughaws_ebs_volume
andaws_ebs_volume_attachment
resources. This provides the same API as before, but allows for more flexibility without generating diffs when adding or removing EBS volumes as well as unintended changes to the volumes.Removed
volume-attachment
example has been removed since the module has been updated to use the corrected form of EBS volume creation and attachment (tl;dr - example is no longer useful).Motivation and Context
metadata_options.http_protocol_ipv6
attribute #398Breaking Changes
docs/UPGRADE-6.0.md
for more detailsHow Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request