Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
aws_security_group_rule fails to be applied to aws_security_group #5532
I'm not sure if this is a bug or it's me not understanding the AWS provider documentation.
I can't create two EC2-Classic Security Groups that depend on each other. The desired scenario is:
This is my .tf file:
This is the output of
And this is what I get when running
If I search for the security groups in AWS, I can see that they were created correctly (without the rules of course). If I try to add those rules manually using the same group names shown in the output error, everything works fine.
referenced this issue
Mar 10, 2016
Hey @xsb thanks for confirming that #5533 fixes your issue (mostly). I agree that the naming of
I've opened up #5555 to track that bug. Ideally we'll add
For now, I'm going to close this issue. Sorry for the trouble!