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_parameterwas 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.regionparameter to specify the AWS region for the resources created if different from the provider region.Modified
objecttypes in place of the previously usedanytype.ebs_block_deviceargument has been removed in favor ofebs_volumeswhich is a map of EBS volumes created throughaws_ebs_volumeandaws_ebs_volume_attachmentresources. 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-attachmentexample 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_ipv6attribute #398Breaking Changes
docs/UPGRADE-6.0.mdfor more detailsHow Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull request