add depends_on for aws_security_group on aws_route_table_association

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-01-29 17:01:30 +01:00
parent 53509bd24e
commit 0ca161866c
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 5 additions and 0 deletions

View File

@ -112,4 +112,9 @@ resource "aws_security_group" "main" {
cidr_blocks = ["0.0.0.0/0"]
}
}
/* Without this aws_route_table is not created in time */
depends_on = [
aws_route_table_association.main
]
}