Skip to content

Commit 5a22858

Browse files
authored
fix: fixed resources dependency to avoid errors when undeploying DA (#145)
1 parent a4858f0 commit 5a22858

File tree

1 file changed

+2
-2
lines changed
  • solutions/fully-configurable

1 file changed

+2
-2
lines changed

solutions/fully-configurable/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ module "eso_clustersecretsstore" {
617617
service_endpoints = var.service_endpoints
618618
clusterstore_trusted_profile_name = each.value.trusted_profile_name != null && each.value.trusted_profile_name != "" ? each.value.trusted_profile_name : null
619619
depends_on = [
620-
module.external_secrets_operator
620+
module.external_secrets_operator, module.cluster_secrets_store_namespace
621621
]
622622
}
623623

@@ -633,7 +633,7 @@ module "eso_secretsstore" {
633633
"namespace" : secrets_store.namespace
634634
}
635635
})
636-
depends_on = [module.external_secrets_operator]
636+
depends_on = [module.external_secrets_operator, module.secrets_store_namespace]
637637
source = "../../modules/eso-secretstore"
638638
eso_authentication = each.value.authentication
639639
region = local.sm_region

0 commit comments

Comments
 (0)