Releases: cloudposse/terraform-aws-ec2-instance
v0.49.0
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
- No changes
v0.47.1
v0.47.0
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 typesio1
,io2
&gp3
. - According to the same documentation, the
throughput
argument is only valid for volume typegp3
. - 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
- closes #137
v0.46.0
v0.45.2
🚀 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
🚀 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
Add ability to configure instance tenancy @RothAndrew (#141)
what
- Add new variable
tenancy
that allows user to configure instance tenancy (default
(default),dedicated
, orhost
)
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
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