Skip to content

v1.2.0 Require AWS provider >= v5.16

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 22:23
· 12 commits to main since this release
7647069

🤖 Automatic Updates

chore(deps): update terraform cloudposse/ec2-autoscale-group/aws to v0.39.0 (main) @renovate (#106)

This PR contains the following updates:

Package Type Update Change
cloudposse/ec2-autoscale-group/aws (source) module minor 0.37.1 -> 0.39.0

Release Notes

cloudposse/terraform-aws-ec2-autoscale-group (cloudposse/ec2-autoscale-group/aws)

v0.39.0

Compare Source

Change mixed instances policy fields to optional @​pagmerek (#​126)

what

  • change variable field of mixed_instances_policy to optional

why

In my other PR for terraform ECS component I changed the default value of variable that is being passed here. Without this change terraform will complain that there is no such field as instances_distribution/override

references

NOTE: This PR must be merged first and then I will change version of ASG component in ECS component

v0.38.0

Compare Source

🚀 Enhancements

Add optional network_interface_id variable @​gbarna-bd (#​124)

what

  • Add optional network_interface_id variable to launch_template

why

  • Allow the attaching of existing network interfaces

references

v0.37.2

Compare Source

🚀 Enhancements

Require AWS provider 5.16+ @​raymondchen625 (#​123)

what

Version v0.36.0 does not work with AWS Provider 4.X.

why

In PR #​121 of v0.36.0, the preference key scale_in_protected_instances, which had been available only since AWS Provider 5.16.0 introduced by PR#33310, was added. That basically upgrades the required AWS provider version to 5.16.0+.
We will get errors like the below while planning with AWS provider <5.16.0:

│ Error: Unsupported argument
│
│   on .terraform/modules/autoscale_group/main.tf line 187, in resource "aws_autoscaling_group" "default":
│  187:           scale_in_protected_instances = lookup(preferences.value, "scale_in_protected_instances", null)
│
│ An argument named "scale_in_protected_instances" is not expected here.

references

🐛 Bug Fixes

Require AWS provider 5.16+ @​raymondchen625 (#​123)

what

Version v0.36.0 does not work with AWS Provider 4.X.

why

In PR #​121 of v0.36.0, the preference key scale_in_protected_instances, which had been available only since AWS Provider 5.16.0 introduced by PR#33310, was added. That basically upgrades the required AWS provider version to 5.16.0+.
We will get errors like the below while planning with AWS provider <5.16.0:

│ Error: Unsupported argument
│
│   on .terraform/modules/autoscale_group/main.tf line 187, in resource "aws_autoscaling_group" "default":
│  187:           scale_in_protected_instances = lookup(preferences.value, "scale_in_protected_instances", null)
│
│ An argument named "scale_in_protected_instances" is not expected here.

references