Skip to content

Releases: cloudposse/terraform-aws-ec2-instance

v1.4.1

14 May 16:24
Compare
Choose a tag to compare
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

  • 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 (#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

v1.4.0

27 Mar 16:02
1084223
Compare
Choose a tag to compare

🚀 Enhancements

Add tags to additional eip @bwmetcalf (#190)

what

  • Add tags to additional eip's

why

  • Ensure consistent tagging

references

v1.3.0

25 Mar 04:18
a8a3214
Compare
Choose a tag to compare
Add user_data_replace_on_change @bwmetcalf (#188)

what

Support user_data_replace_on_change:

[user_data_replace_on_change](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data_replace_on_change) - (Optional) When used in combination with user_data or user_data_base64 will trigger a destroy and recreate when set to true. Defaults to false if not set.

Bumps minimum aws provider version to support this parameter.

why

Force a rebuild if user data has changed.

v1.2.2

20 Mar 02:14
5dd574d
Compare
Choose a tag to compare

🚀 Enhancements

Remove optional `domain` attribute from `aws_eip` resource @mariot8 (#173)

what

  • remove aws_eip optional domain attribute

why

  • optional domain attribute causes terraform to fail plan EC2 instance

references

🤖 Automatic Updates

Add GitHub Settings @osterman (#187)

what

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

why

  • Programmatically manage GitHub repo settings
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

  • 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

v1.2.1

09 Feb 04:00
9010cc0
Compare
Choose a tag to compare

🚀 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_data variable 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

  • closes feature request #130


Kindly review this PR for any possible improvements. Thank you

v1.2.0

24 Jan 01:34
bf54345
Compare
Choose a tag to compare
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

  • closes feature request #180

Kindly review this PR for module improvements. Thank you

v1.1.1

03 Nov 21:13
d4045d9
Compare
Choose a tag to compare
feature/disable-alarm-action @kris-Nabis (#145)

what

  • Disables the use of Alarm Actions

why

  • Unable to create the resource if execution user doesn't have iam:CreateServiceLinkedRole
  • Somewhat random reboot triggers. Alarm Action reboot is 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.0

18 Aug 03:58
a4a943c
Compare
Choose a tag to compare
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 one Terraform 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

v0.50.0

08 Jun 15:58
982f631
Compare
Choose a tag to compare
  • AWS provider V4 Compatibility

v1.0.0

08 Jun 15:22
f7457a5
Compare
Choose a tag to compare
  • Support AWS provider V5
  • Adding external ENIs