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:
parent
53509bd24e
commit
0ca161866c
|
@ -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
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue