Closed ezekieldas closed 4 months ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
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.
Description
This is a very bare bones demo which builds a VPC, ASG, ALB using the noted modules. In ~80% of executions the ec2 instances provided by the ASG will fail in their user-data execution, presumably because of the NAT Gateway not being fully available prior to instances reaching a state of Running.
When
depends_on
is used against the vpc module, ec2 targets appear healthy 100% of executions. However, note the documentation fordepends_on
. I have not incorporated all of the detail or implications into my solution.While this may not be a bug per-se I'd like to understand the issue better, and maybe get an explanation which might help others encountering the same issue. I was able to find similar, yet more complex, experiences searching issues here.
Versions
alb/aws 9.4.0 autoscaling/aws 7.3.1 vpc/aws 5.4.0
Reproduction Code [Required]
Steps to reproduce the behavior: terraform plan, terraform apply + add/remove
depends_on