Skip to content

Releases: cloudposse/terraform-aws-ec2-instance

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

v0.45.1

01 Dec 04:06
7caab4b
Compare
Choose a tag to compare

🚀 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

╷
│ Error: Invalid validation error message
│ 
│   on .terraform/modules/instance/variables.tf line 378, in variable "tenancy":
│  378:     error_message = "Tenancy field can only be one of default, dedicated, host"
│ 
│ The validation error message must be at least one full sentence starting with an uppercase letter and ending with a period or question mark.
│ 
│ Your given message will be included as part of a larger Terraform error message, written as English prose. For broadly-shared modules we suggest using a similar writing style so that the overall result will be consistent.
╵

v0.45.0

24 Nov 00:05
84b5e0a
Compare
Choose a tag to compare
Add ability to configure instance tenancy @RothAndrew (#141)

what

  • Add new variable tenancy that allows user to configure instance tenancy (default (default), dedicated, or host)

why

  • An organization that I work with has a security policy that requires use of dedicated tenancy. This PR adds the capability to do that when using this module.

references

v0.44.0

14 Sep 15:42
1bc0487
Compare
Choose a tag to compare
Added support for gp3 and io2 both root and ebs volumes (fixed copy of #117) @tbpoetke (#136)

what

  • Added support for io2 and gp3 volumes

why

  • original PR had conflicts, this will work hopefully
  • io2 and gp3 are new more performant volumes therefore they should be supported

references

git.io->cloudposse.tools update @dylanbannon (#126)

what and why

Change all references to git.io/build-harness into cloudposse.tools/build-harness, since git.io redirects will stop working on April 29th, 2022.

References

  • DEV-143

v0.43.0

17 Jun 13:50
e3aee1c
Compare
Choose a tag to compare
support-kms-key-id-for-root-volume @woz5999 (#128)

what

  • Support customer managed kms key for block device

why

  • This is supported for other EBS volumes in the module
  • CMK should be supported for root device as well