chore(deps): update terraform cloudposse/ec2-instance/aws to v2 #69
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.
This PR contains the following updates:
0.41.0->2.0.0Release Notes
cloudposse/terraform-aws-ec2-instance (cloudposse/ec2-instance/aws)
v2.0.0Compare Source
Update Ubuntu AMI query @goruha (#215)
what
enabledflagwhy
🤖 Automatic Updates
Replace Makefile with atmos.yaml @osterman (#214)
what
Makefileatmos.yamlwhy
build-harnesswithatmosfor readme genrationReferences
v1.6.1Compare Source
fix: allow stopping instance before detachment and/or forced ebs detachments @Hamza-Olol (#212)
Added support to the EBS volume attachment resource for the `force_detach` and `stop_instance_before_detaching` arguments.These changes allow users to:
- Force the detachment of EBS volumes.
- Stop instances before detaching volumes, ensuring smooth resource teardown during Terraform destroy operations.
why
I cannot delete my Terraform resources using a standard Terraform destroy because I have attached additional ebs volumes to my instance and then ran disk configuration changes in my instance, for example, combined multiple ebs volumes into a striped disk config.
Business use cases may require additional EBS volumes, along with specific disk configurations for the volumes attached to EC2 instances.
When attempting to delete resources via Terraform, the destroy process fails due to issues with EBS volume attachments. These issues include timeouts or the inability to delete volumes because they are in a "busy" state.
The problem arises because Terraform attempts to detach EBS volumes before deleting/stopping the EC2 instance, leading to failures if the volume cannot be detached.
To address this, Terraform introduced the
force_detachandstop_instance_before_detachingarguments, which allows forced detachment and/or stopping of the instance prior to detaching volumes. These enhancements mitigate the destroy-time failures and ensure smoother resource cleanup.references
The
force_detachandstop_instance_before_detachingarguments were introduced in Terraform AWS provider version v3.62.0.Additional details and discussion about this issue can be found in this GitHub thread.
🤖 Automatic Updates
Migrate new test account @osterman (#210)
what
.github/settings.yml.github/chatops.ymlfileswhy
.github/settings.ymlfrom org level to getterratestenvironmenttestaccountReferences
Update .github/settings.yml @osterman (#207)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
Update .github/settings.yml @osterman (#206)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
v1.6.0Compare Source
fix: remove lifecycle ignore changes for ami argument @nitrocode (#205)
what
why
references
v1.5.0Compare Source
feat: Add missed tags @MaxymVlasov (#204)
what
Add tags to resources where they missed
🤖 Automatic Updates
Update .github/settings.yml @osterman (#201)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
Update release workflow to allow pull-requests: write @osterman (#199)
what
.github/workflows/release.yaml) to have permission to comment on PRwhy
Update GitHub Workflows to use shared workflows from '.github' repo @osterman (#198)
what
.github/workflows) to use shared workflows from.githubrepowhy
v1.4.1Compare Source
feat: disable_api_stop option @flightlesstux (#197)
what
Control your EC2 Disable API with your Terraform
why
Because, AWS SDK and cli are supporting.
references
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#disable_api_stop
🤖 Automatic Updates
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#196)
what
.github/workflows) to addissue: writepermission needed by ReviewDogtflintactionwhy
Update GitHub workflows @osterman (#195)
what
.github/workflows/settings.yaml)why
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#192)
what
why
cldouposse/.githubrepositoryv1.4.0Compare Source
🚀 Enhancements
Add tags to additional eip @bwmetcalf (#190)
what
why
references
v1.3.0Compare Source
Add user_data_replace_on_change @bwmetcalf (#188)
what
Support
user_data_replace_on_change:Bumps minimum aws provider version to support this parameter.
why
Force a rebuild if user data has changed.
v1.2.2Compare Source
🚀 Enhancements
Remove optional `domain` attribute from `aws_eip` resource @mariot8 (#173)
what
aws_eipoptionaldomainattributewhy
domainattribute causes terraform to fail plan EC2 instancereferences
🤖 Automatic Updates
Add GitHub Settings @osterman (#187)
what
.github/settings.yaml)why
Update README.md and docs @cloudpossebot (#185)
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 (#186)
what
make readmeto rebuildREADME.mdfromREADME.yamlwhy
.githubrepov1.2.1Compare Source
🚀 Enhancements
feat(aws_instance): treat missing data on cloudwatchmetric @haidargit (#184)
what
The PR enables the treat_missing_data argument for the cloudwatch metric alarm resource on this ec2 module.
https://github.com/cloudposse/terraform-aws-ec2-instance/blob/bf54345e18c6c2d1d85997d3af3b73a0e03c489f/cloudwatch-alarm.tf#L11
why
Users may have specific run schedules, triggering alerts in CloudWatch, e.g., for missing data during offline periods (instance stopped state, hibernate, restart, etc.).
This
treat_missing_datavariable will enable the CloudWatch alarms to set custom responses, which are "missing", "ignore", "breaching" and "notBreaching", for the data gaps that occur and keep the EC2 alarms condition in a desired state.references
Kindly review this PR for any possible improvements. Thank you
v1.2.0Compare Source
feat(aws_instance): conditional IAM instance profile @haidargit (#182)
what
This PR enables a conditional iam_instance_profile variable for the ec2 module.
why
This feature request offers users the flexibility to decide whether to associate an IAM instance profile with their instances.
references
Kindly review this PR for module improvements. Thank you
v1.1.1Compare Source
feature/disable-alarm-action @kris-Nabis (#145)
what
why
iam:CreateServiceLinkedRolerebootis triggered pretty consistently, even while EC2 Resource is not in an alarm state.references
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#175)
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
v1.1.0Compare Source
Correct how the volume_id is selected - Fix #165 @it-praktyk (#171)
what
Fix #165 - allows create an EC2 instance with additional volumes.
why
The issue was introduced here.
The
oneTerraform function returns an error, that blocks creating EC2 instances with additional (non-root) volumes.references
closes #165
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#167)
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
v1.0.0Compare Source
v0.50.0Compare Source
v0.49.0Compare Source
Adding external ENIs @jamengual (#159)
what
Add the ability to add external ENIs to the instance
why
For ec2 instances deployments clusters where the IPs are required to be unique and not change it is necessary to create ENIs outside of this module so that the instance termination does not change the ENI and IP attached.
references
Sync github @max-lobur (#156)
Rebuild github dir from the template
v0.48.0Compare Source
v0.47.1Compare Source
🚀 Enhancements
Only get data.aws_ami.info if it's actually required @y3ti (#151)
what
why
references
v0.47.0Compare Source
Do not set iops and throughput for non-supporting volume types @cinacio (#142)
what
why
iopsargument is only valid for volumes typesio1,io2&gp3.throughputargument is only valid for volume typegp3.gp2volume to "0" triggers the following errorreferences
v0.46.0Compare Source
Adding support for secondary private ips @vale21 (#153)
what
why
references
v0.45.2Compare Source
🚀 Enhancements
Support AWS partition for SSM resources @dlundgren (#148)
what
awsso this doesn't work when trying to use the role with AWS GovCloud.why
references
v0.45.1Compare Source
🚀 Enhancements
Turn tenancy validation message into English prose @irl (#144)
Adds a period at the end of the error message.
what
A single character change to make this into English prose.
why
v0.45.0Compare Source
Add ability to configure instance tenancy @RothAndrew (#141)
what
tenancythat allows user to configure instance tenancy (default(default),dedicated, orhost)why
references
v0.44.0Compare Source
Added support for gp3 and io2 both root and ebs volumes (fixed copy of #117) @tbpoetke (#136)
what
why
references
git.io->cloudposse.tools update @dylanbannon (#126)
what and why
Change all references to
git.io/build-harnessintocloudposse.tools/build-harness, sincegit.ioredirects will stop working on April 29th, 2022.References
v0.43.0Compare Source
support-kms-key-id-for-root-volume @woz5999 (#128)
what
why
v0.42.0Compare Source
Adding in support for ec2 metadata_tags @wschultz (#122)
what
why
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.