Releases: cloudposse-terraform-components/aws-ec2-instance
v1.536.0
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#34)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
chore(deps): update terraform cloudposse/ec2-instance/aws to v2 @[renovate[bot]](https://github.com/apps/renovate) (#32)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
cloudposse/ec2-instance/aws (source) | module | major | 1.4.0 -> 2.0.0 |
Release Notes
cloudposse/terraform-aws-ec2-instance (cloudposse/ec2-instance/aws)
v2.0.0
Update Ubuntu AMI query @goruha (#215)
what
- Update Ubuntu AMI to 22.04
- Fix
enabled
flag
why
- AMI 18.04 is deprecated
- Not all resources used to support the enabled flag
🤖 Automatic Updates
Replace Makefile with atmos.yaml @osterman (#214)
what
- Remove
Makefile
- Add
atmos.yaml
why
- Replace
build-harness
withatmos
for readme genration
References
- DEV-3229 Migrate from build-harness to atmos
v1.6.1
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_detach
and stop_instance_before_detaching
arguments, 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_detach
and stop_instance_before_detaching
arguments 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
- Update
.github/settings.yml
- Update
.github/chatops.yml
files
why
- Re-apply
.github/settings.yml
from org level to getterratest
environment - Migrate to new
test
account
References
- DEV-388 Automate clean up of test account in new organization
- DEV-387 Update terratest to work on a shared workflow instead of a dispatch action
- DEV-386 Update terratest to use new testing account with GitHub OIDC
Update .github/settings.yml @osterman (#207)
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 (#206)
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
v1.6.0
fix: remove lifecycle ignore changes for ami argument @nitrocode (#205)
what
- remove lifecycle ignore changes for ami argument
why
- This change looks unintentional based on the PR description
- We'd like to allow AMIs to recreate the EC2 for singletons that aren't production facing
references
v1.5.0
feat: Add missed tags @MaxymVlasov (#204)
what
Add tags to resources where they missed
🤖 Automatic Updates
Update .github/settings.yml @osterman (#201)
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 (#199)
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 (#198)
what
- Update workflows (
.github/workflows
) to use shared workflows from.github
repo
why
- Reduce nested levels of reusable workflows
v1.4.1
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
🤖 Automatic Updates
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#196)
what
- Update workflows (
.github/workflows
) to addissue: write
permission needed by ReviewDogtflint
action
why
- The ReviewDog action will comment with line-level suggestions based on linting failures
Update GitHub workflows @osterman (#195)
what
- Update workflows (
.github/workflows/settings.yaml
)
why
- Support new readme generation workflow.
- Generate banners
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#192)
what
- Install latest GitHub Action Workflows
why
- Use shared workflows from
cldouposse/.github
repository - Simplify management of workflows from centralized hub of configuration
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.
- <!-- rebase-chec...
v1.535.2
🤖 Automatic Updates
chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.38.0 @[renovate[bot]](https://github.com/apps/renovate) (#6)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
terraform-linters/tflint-ruleset-aws | plugin | minor | 0.23.1 -> 0.38.0 |
Release Notes
terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)
v0.38.0
What's Changed
Breaking Changes
- Update AWS provider/module and generated content by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/837
- Remove Amazon Chime rules
aws_chime_voice_connector_group_invalid_name
aws_chime_voice_connector_invalid_aws_region
aws_chime_voice_connector_invalid_name
aws_chime_voice_connector_logging_invalid_voice_connector_id
aws_chime_voice_connector_origination_invalid_voice_connector_id
aws_chime_voice_connector_streaming_invalid_voice_connector_id
aws_chime_voice_connector_termination_credentials_invalid_voice_connector_id
aws_chime_voice_connector_termination_invalid_default_phone_number
aws_chime_voice_connector_termination_invalid_voice_connector_id
- Remove Amazon Chime rules
Enhancements
- feat: add aws_security_group_inline_rules rule by @kayman-mk in https://github.com/terraform-linters/tflint-ruleset-aws/pull/793
Chores
- Bump github.com/aws/aws-sdk-go-v2/service/ecs from 1.53.1 to 1.53.2 in the aws-sdk group by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/806
- Bump github.com/zclconf/go-cty from 1.15.1 to 1.16.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/807
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/809
- Bump golang.org/x/net from 0.33.0 to 0.34.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/811
- Bump github.com/terraform-linters/tflint-plugin-sdk from 0.21.0 to 0.22.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/812
- Bump github.com/hashicorp/aws-sdk-go-base/v2 from 2.0.0-beta.59 to 2.0.0-beta.60 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/810
- Bump github.com/hashicorp/aws-sdk-go-base/v2 from 2.0.0-beta.60 to 2.0.0-beta.61 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/816
- Bump github.com/zclconf/go-cty from 1.16.0 to 1.16.1 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/817
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/815
- Bump github.com/zclconf/go-cty from 1.16.1 to 1.16.2 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/819
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/818
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/823
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/824
- Bump github.com/hashicorp/aws-sdk-go-base/v2 from 2.0.0-beta.61 to 2.0.0-beta.62 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/825
- Bump the aws-sdk group with 2 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/826
- Bump golang.org/x/net from 0.34.0 to 0.35.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/827
- Bump github.com/aws/smithy-go from 1.22.2 to 1.22.3 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/830
- Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/831
- Bump the aws-sdk group with 7 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/829
- deps: Go 1.24 by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/832
- rule template: fix typo by @bendrucker in https://github.com/terraform-linters/tflint-ruleset-aws/pull/834
- Remove hard-coded versions from integration tests by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/835
- Add make release for release automation by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/836
Full Changelog: terraform-linters/tflint-ruleset-aws@v0.37.0...v0.38.0
v0.37.0
Breaking Changes
- #789 #798: Update AWS provider/module and generated content
- Removed the following rules
aws_service_discovery_http_namespace_invalid_name
aws_service_discovery_private_dns_namespace_invalid_name
aws_service_discovery_public_dns_namespace_invalid_name
- Removed the following rules
Enhancements
- #787 #800: Add new db.m8g, r8g, r7i, r6i-preconfigured, m7i, c6gd instances (@gnetsman, @wata727)
- #786: feat: add
aws_iam_policy_attachment_exclusive_attachment
rule (@kayman-mk) - #790: feat: add
aws_security_group_rule_deprecated
rule (@kayman-mk) - #801: rules: Add missing DB engines (@wata727)
- [#802](https://redirect.github.com/terraform-linters/tflint-rules...
v1.535.1
chore: add tests @RoseSecurity (#17)
## what- Add
basic
component test - Add
disabled
component test - Test component drifting
why
- Test basic component features
- Verify that the component does not create any resources when input
enabled: false
set - Verify that the component does not drift on a second run with the same inputs
references
Summary by CodeRabbit
- Chores
- Updated an infrastructure module to a newer version.
- Removed an obsolete test script.
- New Features
- Introduced several new YAML configuration files that enhance CLI settings and infrastructure component setups, including network, compute, account mapping, and vendor configurations.
- Tests
- Added a comprehensive test suite to validate EC2 instance components, ensuring proper deployment and stability.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#19)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates