make sure not to delete iam role before nodes finish

This commit is contained in:
David Dollar 2019-10-31 09:53:37 -04:00
parent 9c70404318
commit aa8191bf40
No known key found for this signature in database
GPG Key ID: AFAF263FB45B2124

View File

@ -25,6 +25,7 @@ data "aws_ami" "node" {
resource "aws_cloudformation_stack" "nodes" {
depends_on = [
aws_iam_role.nodes,
aws_internet_gateway.nodes,
aws_security_group.nodes,
aws_subnet.public,