-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default value ebs_optimized = true
makes some instance types unable to provision.
#174
Comments
ebs_optimized = true
makes some instance types non-configurable.ebs_optimized = true
makes some instance types non able to provision.
ebs_optimized = true
makes some instance types non able to provision.ebs_optimized = true
makes some instance types unable to provision.
Hi, this isn't a bug actually.. 👍🏻 as far as i know, the ec2 module (terraform-aws-ec2-instance) from cloudposse provides a variable to control the There are various ways for us to do that. ( using *.tfvars ) add this code inside your "
then simply use the cloudposse module like this
run your resource OR... (straightforward)
|
ref: terraform-aws-ec2-instance/variables.tf Line 120 in d4045d9
|
@haidargit |
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 simply unsupported for EBS-optimized instances.https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
So the following code causes an error:
Expected Behavior
EC2 instances of types that do not support EBS-optimized configurations can still be provisioned using default values.
Steps to Reproduce
Terraform v1.5.6
aws = {
source = "hashicorp/aws"
version = ">=5.12.0, <6.0.0"
}
Then applying the code above will reproduce.
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: