fpco / terraform-aws-foundation

Establish a solid Foundation on AWS with these modules for Terraform
MIT License
204 stars 98 forks source link

EBS attaching failed in single-node-asg when the instance is signaficantly slow. #280

Open Magicloud opened 4 years ago

Magicloud commented 4 years ago

Just doing some test in AWS Tokyo DC. To my surprise, it took unusually long time for the instance status being ready. It may be issues on AWS side, but it also triggered issue in the module.

An error occurred (IncorrectState) when calling the AttachVolume operation: Instance 'i-006add0eb74fbe0a2' is not 'running'.

EBS attaching failed due to above error.