Skip to content

Commit

Permalink
add depends_on
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilbk committed Jul 26, 2024
1 parent 940af6e commit c4236c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/nat-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ module "gateway" {
# horizontally.
# See https://www.firezone.dev/kb/deploy/gateways#sizing-recommendations.
# instance_type = "Standard_B1ls"

depends_on {
# Ensure the NAT Gateway is created before the Gateways.
azurerm_nat_gateway_public_ip_association.firezone
}
}

# Configure the Azure provider
Expand Down

0 comments on commit c4236c4

Please sign in to comment.