Skip to content

Commit

Permalink
add depends on network
Browse files Browse the repository at this point in the history
  • Loading branch information
anniehedgpeth committed Oct 9, 2023
1 parent f0b148d commit 0e6d4f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ module "redis" {
# Azure postgres
# -----------------------------------------------------------------------------
module "database" {
source = "./modules/database"
count = local.disk_mode == true ? 0 : 1
source = "./modules/database"
count = local.disk_mode == true ? 0 : 1
depends_on = [ module.network ]

friendly_name_prefix = var.friendly_name_prefix
resource_group_name = module.resource_groups.resource_group_name
Expand Down

0 comments on commit 0e6d4f6

Please sign in to comment.