-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
No error message for aws_instance creation failure #2564
Comments
Hm, interesting. I wonder where this error message appears. Where did you see it in the console? We check all API responses for errors so this must mean it is coming from some non-intuitive endpoint. |
During the
and after an moment:
|
I believe @mitchellh is asking which section of the AWS console displayed the error. |
I just encountered something similar when I was trying to launch a instance with a 3 terabyte standard volume. No obvious error was thrown instance just got terminated, Then i used volume_type = "gp2" which fixed it. |
I see this error now. I hit CTRL-C in the middle of an
[Update 2] I still see the problem when I run [Update 3 & Resolution] In
|
What's the status on this one? Bubbling up that error would prove useful. |
I get a different issue.
I'm creating a 40G root volume with 5k IOPS on Ubuntu 14.04 LTS 64-bit LVM (ami-415f6d2b) |
Looks like this is more related to the AMIs compatibility. Seems that I should probably be using |
So the root of my issue is there's math involved in creating the volume itself. Doing direct
The maximum IOPS for a 20 GiB volume would be 600 (20 * 30 = 600). To get to a minimum of 1000 I'd have to create a volume 33GiB in size or larger. 10k IOPs would require a volume 334GiB in size or larger. Not sure that this check can be included in terraform, however the error messages are not that grand even considering the 'state transition reason' message. |
Is it possible to not make the |
I actually work with @aaronbrashears ! and ran into this issue as well just today.
I believe, for whatever reason, my ebs block:
is prefering iops as the |
Just hit this today. Terraform output:
Terraform version:
The reason was hitting an EBS-related limit. When viewing the terminated EC2 instance in the console, this was the error message:
|
I was getting this error too. But for me the cause was the AMI I was using (Ubuntu 16.04) did not allow the device name I gave it. It took a long time to debug because Terraform and AWS had very unhelpful error messages. I went with a |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I was creating an aws_instance resource with an attached ebs_block_device. On
apply
, the error message from terriform was:Going into the AWS UI to test, I found that I was bumping up against the ebs iops limit which returns the move useful message:
I would like to see that error message during the terraform operation.
The text was updated successfully, but these errors were encountered: