Skip to content
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

chore(deps): update terraform cloudposse/ec2-autoscale-group/aws to v0.40.0 (release/v0) #124

Open
wants to merge 1 commit into
base: release/v0
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 8, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v0.40.0

Compare Source

fix: Tagging @​MaxymVlasov (#​143)

why

var.tags does not provide any tags if you rely on context:

module {
  ...
  context = module.this.context
}

🤖 Automatic Updates

Update .github/settings.yml @​osterman (#​142)

what

  • Update .github/settings.yml
  • Drop .github/auto-release.yml files

why

  • Re-apply .github/settings.yml from org level
  • Use organization level auto-release settings

references

  • DEV-1242 Add protected tags with Repository Rulesets on GitHub
Update .github/settings.yml @​osterman (#​141)

what

  • Update .github/settings.yml
  • Drop .github/auto-release.yml files

why

  • Re-apply .github/settings.yml from org level
  • Use organization level auto-release settings

references

  • DEV-1242 Add protected tags with Repository Rulesets on GitHub
Update release workflow to allow pull-requests: write @​osterman (#​140)

what

  • Update workflow (.github/workflows/release.yaml) to have permission to comment on PR

why

  • So we can support commenting on PRs with a link to the release
Update GitHub Workflows to use shared workflows from '.github' repo @​osterman (#​139)

what

  • Update workflows (.github/workflows) to use shared workflows from .github repo

why

  • Reduce nested levels of reusable workflows
chore(deps): update terraform cloudposse/dynamic-subnets/aws to v2.4.2 @​renovate (#​131) This PR contains the following updates:
Package Type Update Change
cloudposse/dynamic-subnets/aws (source) module patch 2.4.1 -> 2.4.2

Release Notes
cloudposse/terraform-aws-dynamic-subnets (cloudposse/dynamic-subnets/aws)
v2.4.2

Compare Source

🚀 Enhancements
chore(deps): update terraform cloudposse/utils/aws to v1.4.0 (main) @​&#​8203;renovate (#&#​8203;191)

This PR contains the following updates:

Package Type Update Change
cloudposse/utils/aws (source) module minor 1.3.0 -> 1.4.0

Release Notes
cloudposse/terraform-aws-utils (cloudposse/utils/aws)
v1.4.0

Compare Source

Add il-central-1 region @​&#​8203;&#&#​8203;8203;jasonmk (#&#&#​8203;8203;31)
what

Add new Tel Aviv (il-central-1) region

why

Provide full coverage

references
Sync github @​&#​8203;&#&#​8203;8203;max-lobur (#&#&#​8203;8203;27)

Rebuild github dir from the template


🤖 Automatic Updates
chore(deps): update terraform cloudposse/utils/aws to v1.4.0 (main) @​&#​8203;renovate (#&#​8203;191)

This PR contains the following updates:

Package Type Update Change
cloudposse/utils/aws (source) module minor 1.3.0 -> 1.4.0

Release Notes
cloudposse/terraform-aws-utils (cloudposse/utils/aws)
v1.4.0

Compare Source

Add il-central-1 region @​&#​8203;&#&#​8203;8203;jasonmk (#&#&#​8203;8203;31)
what

Add new Tel Aviv (il-central-1) region

why

Provide full coverage

references
Sync github @​&#​8203;&#&#​8203;8203;max-lobur (#&#&#​8203;8203;27)

Rebuild github dir from the template


Update README.md and docs @​&#​8203;cloudpossebot (#&#​8203;189)
what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates


Update GitHub Workflows to Fix ReviewDog TFLint Action @​osterman (#​138)

what

  • Update workflows (.github/workflows) to add issue: write permission needed by ReviewDog tflint action

why

  • The ReviewDog action will comment with line-level suggestions based on linting failures
Update GitHub workflows @​osterman (#​137)

what

  • Update workflows (.github/workflows/settings.yaml)

why

  • Support new readme generation workflow.
  • Generate banners
Use GitHub Action Workflows from `cloudposse/.github` Repo @​osterman (#​136)

what

  • Install latest GitHub Action Workflows

why

  • Use shared workflows from cldouposse/.github repository
  • Simplify management of workflows from centralized hub of configuration
Add GitHub Settings @​osterman (#​135)

what

  • Install a repository config (.github/settings.yaml)

why

  • Programmatically manage GitHub repo settings
Update README.md and docs @​cloudpossebot (#​132)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

Update Scaffolding @​osterman (#​133)

what

  • Reran make readme to rebuild README.md from README.yaml
  • Migrate to square badges
  • Add scaffolding for repo settings and Mergify

why

  • Upstream template changed in the .github repo
  • Work better with repository rulesets
  • Modernize look & feel
chore(deps): update terraform cloudposse/vpc/aws to v2.2.0 @​renovate (#​130) This PR contains the following updates:
Package Type Update Change
cloudposse/vpc/aws (source) module minor 2.1.1 -> 2.2.0

Release Notes
cloudposse/terraform-aws-vpc (cloudposse/vpc/aws)
v2.2.0

Compare Source


Update README.md and docs @​cloudpossebot (#​129)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

chore(deps): update terraform cloudposse/vpc/aws to v2.1.1 @​renovate (#​128) This PR contains the following updates:
Package Type Update Change
cloudposse/vpc/aws (source) module patch 2.1.0 -> 2.1.1

Release Notes
cloudposse/terraform-aws-vpc (cloudposse/vpc/aws)
v2.1.1

Compare Source

Add support for network address usage metrics @​&#​8203;lanzrein (#&#​8203;124)
what

This PR adds support for Network Address Usage Metrics on the VPC.
AWS documentation : https://docs.aws.amazon.com/vpc/latest/userguide/network-address-usage.html
Terraform documentation : https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc#enable_network_address_usage_metrics

why

Network Address Usage metrics can help monitor the growth of a VPC and would be useful for any user.
Enable this after creating a VPC does not trigger recreation of the VPC.

references

closes #​115

Sync github @​&#​8203;max-lobur (#&#​8203;120)

Rebuild github dir from the template

🤖 Automatic Updates
Update README.md and docs @​&#​8203;cloudpossebot (#&#​8203;125)
what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates


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

v0.37.1

Compare Source

fix: block_device_mappings required optional fields @​MaxymVlasov (#​127)

what

Fix 0.37.0

│ Error: Invalid value for input variable
│ 
│   on main.tf line 125, in module "autoscale_group":
│  125:   block_device_mappings       = var.block_device_mappings
│ 
│ The given value is not suitable for
│ module.autoscale_group.var.block_device_mappings declared at
│ .terraform/modules/autoscale_group/variables.tf:72,1-33: incorrect list
│ element type: attribute "ebs": attribute "throughput" is required.
╵

why

As per the code in main.tf, all these stuff are optional

https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/blob/b757eb9037b9eae3235522800530117e66d535b2/main.tf#L6-L24

references

https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/pull/97

🤖 Automatic Updates

Update Terraform cloudposse/dynamic-subnets/aws to v2.4.1 @​renovate (#​125)

This PR contains the following updates:

Package Type Update Change
cloudposse/dynamic-subnets/aws (source) module minor 2.3.0 -> 2.4.1

Release Notes
cloudposse/terraform-aws-dynamic-subnets (cloudposse/dynamic-subnets/aws)
v2.4.1

Compare Source

🚀 Enhancements
Add subnet ARNs to outputs @​&#​8203;Nuru (#&#​8203;188)
what
  • Add subnet ARNs to outputs
why
v2.4.0

Compare Source

Update dependencies, remove deprecation, add NACL example @​&#​8203;Nuru (#&#​8203;184)
Note
Dropping support for deprecated EC2-Classic

With this release, EIPs allocated for NAT ingress are allocated in the default domain. This most likely does not affect you, but for accounts created before 2013-12-04 (almost 10 years ago as of this writing), the default domain could be EC2-Classic rather than the current VPC. Previously this module forced the EIPs to be in the VPC domain, but the breaking changes between AWS Provider v4 and v5 make that difficult.

If you find yourself in the rare situation where the EIPs allocated by this module are in EC2-Classic but you want them in VPC, then create the EIPs outside of this module and supply them to this module via nat_elastic_ips.

Custom NACLs

This release includes an example (examples/nacls/) showing how to create custom NACLs in conjunction with this module. Note that by default, this module creates wide-open NACLs, and subnets can only have one NACL associated with them. If you try to add a NACL to a subnet without disabling the default NACLs, you may get a possibly confusing error like:

│ Error: creating EC2 Network ACL: creating EC2 Network ACL (acl-0376c5f12dd9d784d) Association: InvalidAssociationID.NotFound: The association ID 'aclassoc-0818d5a9e3876a2bb' does not exist

See https://github.com/hashicorp/terraform-provider-aws/issues/31888

what
  • Make appropriate inputs non-nullable (treat an input of null as meaning "default")
  • Remove aws_eip vpc = true
  • Update terraform cloudposse/utils/aws to v1.3.0 (Supersedes and closes #​182)
  • Add example of how to add custom NACLs to subnets created by this module (Supersedes and closes #​176)
  • Update tests and test framework
why
  • Allow better, more consistent configuration
  • Deprecated
  • Include support for new AWS regions
  • Encourage composition of modules and resources rather than aggregation of functionality into bloated modules (c.f. #​176)
  • Stay current with features, bug fixes, and security updates
references

v0.37.0

Compare Source

* add throughput to block_device_mapping @​zaksamalik (#​97)

what

  • add throughput to block_device_mapping

why

  • allows throughput configuration for block device mappings

references

  • closes #​96

v0.36.0

Compare Source

🚀 Enhancements

Fix: instance refresh missing properties @​ebarriosjr (#​121)

what

This PR adds two missing properties to the instance_refresh stanza.

why

Right now there is no way to configure scale_in_protected_instances and standby_instances in the instance refresh stanza.

references

This solves: #​120

🤖 Automatic Updates

Update README.md and docs @​cloudpossebot (#​122)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v0.35.1

Compare Source

add instance refresh preferences @​scott-doyland-burrows (#​115)

what

Adds skip_matching and auto_rollback to the instance refresh preferences.

Allows the instance refresh preferences to be optional. If the values are not set in the calling module, then the default values are used as per:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#instance_refresh

why

Previously it was not possible to set the skip_matching and auto_rollback.

It was also not possible to omit preferences from the calling module and just use the defaults instead.

With this change we can now set preferences and/or omit preferences that we wish to use the defaults for.

The change should not cause any diffs in current infrastructure.

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#instance_refresh

examples

It is now possible to use something such as this to use defaults:

  instance_refresh = ({
    strategy = "Rolling"
  })

or this to override certain defaults:

  instance_refresh = ({
    strategy = "Rolling"
    preferences = ({
      min_healthy_percentage = 50
      skip_matching          = true
    })
    triggers = ["tags"]
  })

🤖 Automatic Updates

Update README.md and docs @​cloudpossebot (#​119)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v0.35.0

Compare Source

Made spot_options in instance_market_options optional @​skjensen (#​117)

what

Made spot_options in instance_market_options optional.

why

On the AWS Web console there is an option to tick a box that provides guidance on how to create a Launch Template, there works with an EC2 Auto scaling group.

Expanding the "Advanced details" ticking "Request spot instance" you will see most of the options are marked as "Don't include in launch template (recommended)"

Expiry date and Interruption behaviour are not applicable. Having all spot_options as required in this template makes it impossible to enable spot instances in an EC2 Auto Scaling group.

On a related note, but not requiring any change to the module.
The variable instance_initiated_shutdown_behavior should be set to null as it's also not allowed in the Launch Template when used for an EC2 Auto Scaling group

references

https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html

Support AWS Provider V5 @​max-lobur (#​116)

what

Support AWS Provider V5
Linter fixes

why

Maintenance

references

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

v0.34.2

Compare Source

🐛 Bug Fixes

Restore tags output @​Nuru (#​114)

what

  • Restore autoscaling_group_tags output removed in #​113

why

  • Maintain backwards compatibility

v0.34.1

Compare Source

Sync github @​max-lobur (#​110)

Rebuild github dir from the template

🚀 Enhancements

Support AWS Provider V5 @​max-lobur (#​113)

what

  • Support AWS Provider V5
  • Linter fixes
  • Bump tf version

why

resource/aws_autoscaling_group: Remove deprecated tags attribute (https://github.com/hashicorp/terraform-provider-aws/issues/30842)

references

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

v0.34.0

Compare Source

  • No changes

v0.33.0

Compare Source

To support custom alarms with extended_statistic @​linhkikuchi (#​102)

what

  • Current module only support statistic, not extended_statistic for custom_alarms

why

  • extended_statistic is useful for metric TargetResponseTime

references

  • Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow).
  • Use closes #&#8203;123, if this PR closes a GitHub issue #123

v0.32.0

Compare Source

Add support for instance reuse policy and fix bug for tag for v4 @​linhkikuchi (#​101)

what

why

  • My module needs this new feature for warm pool

references

v0.31.1

Compare Source

🚀 Enhancements

Use tag and deprecate tags @​nitrocode (#​95)

what

  • Deprecated tags

why

  • Use non deprecated tag keys

references

v0.31.0

Compare Source

Feat/instance metadata options - Updated @​rwc (#​94)

Full credit goes to @​zen and his prior work in https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/pull/88. Simply fixing up the issues @​Nuru called out in order to get this over the finish line for production use.

what

  • Adds support for newly introduced instance tags in metadata

why

  • This is very handy for setting up a hostname from "Tag:Name" and other useful automations without AWS SDK installed

references

git.io->cloudposse.tools update @​dylanbannon (#​89)

what and why

Change all references to git.io/build-harness into cloudposse.tools/build-harness, since git.io redirects will stop working on April 29th, 2022.

References

  • DEV-143

v0.30.1

Compare Source

🚀 Enhancements

Add missing dollar sign @​nitrocode (#​86)

what

  • Add missing dollar sign to string vars

why

  • Parse string and input vars as intended

references

  • This change was DMed to me
Chore: Run `make github/init` @​korenyoni (#​82)

what

  • Run make github/init.

why

  • Updates GHA-related files to use latest distribution of build-harness.
  • Allows multiple PRs to be consolidated to a single release.

references

  • N/A

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner August 8, 2024 17:18
@renovate renovate bot added the auto-update This PR was automatically generated label Aug 8, 2024
@renovate renovate bot requested review from a team as code owners August 8, 2024 17:18
@renovate renovate bot requested review from Gowiem and joe-niland August 8, 2024 17:18
Copy link

mergify bot commented Aug 8, 2024

/terratest

1 similar comment
@Gowiem
Copy link
Member

Gowiem commented Aug 8, 2024

/terratest

Copy link
Contributor Author

renovate bot commented Aug 8, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-update This PR was automatically generated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant