Skip to content

Commit

Permalink
Fix Terraform dependencies
Browse files Browse the repository at this point in the history
  *Deployment was failing due to wrong deployment order

Signed-off-by: Nindemic <[email protected]>
  • Loading branch information
Nindemic authored and msrn committed Jan 25, 2022
1 parent 5f1ae9e commit 323f74f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 02_deployHono/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ module "hono" {
}

module "influxdb" {
depends_on = [module.persistent_storage]
depends_on = [module.persistent_storage, module.ambassador]
source = "./modules/influxdb"
}

module "mongodb" {
depends_on = [module.persistent_storage]
depends_on = [module.persistent_storage, module.ambassador]
source = "./modules/mongodb"
mongodb_username = var.mongodb_username
mongodb_password = var.mongodb_password
Expand Down

0 comments on commit 323f74f

Please sign in to comment.