terraform-aws-ec2-instance
terraform-aws-ec2-instance copied to clipboard
Terraform module for provisioning a general purpose EC2 host
Fix #172 remove optional `domain` attribute from `aws_eip` resource to allow tf to compute the value
## what - remove `aws_eip` optional `domain` attribute ## why - optional `domain` attribute causes terraform to fail plan EC2 instance ## references - closes #172
### Describe the Bug Because the default value of `ebs_optimized` changed to true in this PR #159, some instance types (such as t2.micro) are unable to provision because they are...
### Describe the Bug The AWS provider requirement is still listed as >=2.x, but creating an instance with this module with an AWS provider version
### Describe the Bug When using terraform aws_instance or AWS web GUI, it is possible to launch an instance which doesn't have any IAM role attached. It seems to me...
### Describe the Bug The Module plan fails when provisioning EC2 instance because of the ["aws_eip" resource vpc](https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/resources/eip#vpc) argument. ``` module "ec2" { source = "cloudposse/ec2-instance/aws" version = "1.1.0" ssh_key_pair...
### Describe the Bug The recent changes to `aws_eip` force a dependency on the 5.0 `aws` provider. Using 4.x throws errors with ``` on .terraform/modules/data_host.box/main.tf line 175, in resource "aws_eip"...
### Describe the Feature I'd like to know how to modify this example https://github.com/cloudposse/terraform-aws-ec2-instance/blob/master/examples/complete/main.tf for multiple EC2 instances ### Expected Behavior NA ### Use Case Bringing up a small networked...
Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/). [](https://slack.cloudposse.com) ## Describe the Feature Allow to have multiple volumes attach to instance with different sizes...
### Describe the Bug Input instance_profile will throw the below error on apply ``` │ Error: Invalid count argument │ │ on .terraform/modules/instance/main.tf line 85, in data "aws_iam_instance_profile" "given": │...
## what - The PR enables the terraform [instance_market_options](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#instance_market_options) block for this ec2 module - add a **new tfvars** as a consumer/_Terratest_ for the ec2 spot instance inside `examples/complete` directory...