Releases: cloudposse-terraform-components/aws-ec2-instance
v1.537.0
chore(deps): restrict aws provider version to < 6.0.0 @Benbentwo (#35)
This pull request includes a version constraint update for the AWS provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 6.0.0.src/versions.tf
: Updated the version constraint for theaws
provider to>= 4.9.0, < 6.0.0
to ensure compatibility with future versions while avoiding potential breaking changes in version 6.0.0.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#37)
## 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): bump golang.org/x/net from 0.36.0 to 0.38.0 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#21)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.Commits
e1fcd82
html: properly handle trailing solidus in unquoted attribute value in foreign...ebed060
internal/http3: fix build of tests with GOEXPERIMENT=nosynctest1f1fa29
publicsuffix: regenerate table1215081
http2: improve error when server sends HTTP/1312450e
html: ensure <search> tag closes <p> and update tests09731f9
http2: improve handling of lost PING in Server55989e2
http2/h2c: use ResponseController for hijacking connections2914f46
websocket: re-recommend gorilla/websocket99b3ae0
go.mod: update golang.org/x dependencies- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.40.0 @[renovate[bot]](https://github.com/apps/renovate) (#22)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
terraform-linters/tflint-ruleset-aws | plugin | minor | 0.38.0 -> 0.40.0 |
Release Notes
terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)
v0.40.0
What's Changed
Enhancements
- feat: warn against data sources with ephemeral alternatives by @aristosvo in https://github.com/terraform-linters/tflint-ruleset-aws/pull/861
- rules: Update Lambda deprecated runtimes by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/886
- Update AWS provider/module and generated content by @github-actions in https://github.com/terraform-linters/tflint-ruleset-aws/pull/870
Chores
- Bump sigstore/cosign-installer from 3.8.1 to 3.8.2 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/872
- Bump the aws-sdk group with 3 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/873
- Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/874
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.212.0 to 1.213.0 in the aws-sdk group by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/875
- docs: Rename aws_write_only_attributes.md -> aws_write_only_arguments.md by @wata727 in https://github.com/terraform-linters/tflint-ruleset-aws/pull/876
- Bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/877
- Bump golang.org/x/net from 0.39.0 to 0.40.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/879
- Bump the aws-sdk group with 2 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/878
- Bump github.com/zclconf/go-cty from 1.16.2 to 1.16.3 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/883
- Bump the aws-sdk group with 3 updates by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/882
- Bump github.com/hashicorp/terraform-json from 0.24.0 to 0.25.0 by @dependabot in https://github.com/terraform-linters/tflint-ruleset-aws/pull/884
Full Changelog: terraform-linters/tflint-ruleset-aws@v0.39.0...v0.40.0
v0.39.0
What's Changed
Enhancements
- Update AWS provider/module and generated content by [@github-actions](https://redirect.github.com...
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