Skip to content

Releases: cloudposse/terraform-aws-ec2-instance

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

v0.49.0

07 Jun 03:32
f7457a5
Compare
Choose a tag to compare
v0.49.0 Pre-release
Pre-release
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.0

17 May 09:17
e6d3561
Compare
Choose a tag to compare
  • No changes

v0.47.1

07 Mar 14:03
e6d3561
Compare
Choose a tag to compare

🚀 Enhancements

Only get data.aws_ami.info if it's actually required @y3ti (#151)

what

  • Use data.aws_ami.info only if it's actually required

why

  • Fix Your query returned no results" error once the AMI ID is not listed within AWS marketplace

references

v0.47.0

07 Mar 14:01
916c3af
Compare
Choose a tag to compare
Do not set iops and throughput for non-supporting volume types @cinacio (#142)

what

  • Only set iops and throughput arguments for volume types supporting those options.

why

  • According to the documentation for the aws_ebs_volume resource, the iops argument is only valid for volumes types io1, io2 & gp3.
  • According to the same documentation, the throughput argument is only valid for volume type gp3.
  • Setting the throughput of a gp2 volume to "0" triggers the following error

Error: expected throughput to be in the range (125 - 1000), got 0

with module.instance.aws_ebs_volume.default[0],
on .terraform/modules/instance/main.tf line 178, in resource "aws_ebs_volume" "default":
178: throughput = local.ebs_throughput

references

v0.46.0

03 Mar 12:27
cbb3927
Compare
Choose a tag to compare
Adding support for secondary private ips @vale21 (#153)

what

  • Adding support for secondary private ips to EC2 instances created with this module

why

  • I cannot set secondary private IPs to my EC2 instance using your module

references

v0.45.2

12 Jan 00:55
db55ac7
Compare
Choose a tag to compare

🚀 Enhancements

Support AWS partition for SSM resources @dlundgren (#148)

what

  • SSM patch is currently hardcoded to aws so this doesn't work when trying to use the role with AWS GovCloud.

why

  • This allows the role to work in with AWS GovCloud

references

  • The cloudwatch-alarm supports the AWS GovCloud partition