Skip to content

Commit

Permalink
terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jan 21, 2025
1 parent 8890557 commit c0cc43b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions deployment/consumer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ module "consumer-connector" {

# consumer identity hub
module "consumer-identityhub" {
depends_on = [module.consumer-vault]
depends_on = [module.consumer-vault]
source = "./modules/identity-hub"
credentials-dir = dirname("./assets/credentials/k8s/consumer/")
credentials-dir = dirname("./assets/credentials/k8s/consumer/")
humanReadableName = "consumer-identityhub"
participantId = var.consumer-did
vault-url = "http://consumer-vault:8200"
Expand All @@ -51,7 +51,7 @@ module "consumer-identityhub" {

# consumer standalone STS
module "consumer-sts" {
depends_on = [module.consumer-vault]
depends_on = [module.consumer-vault]
source = "./modules/sts"
humanReadableName = "consumer-sts"
namespace = kubernetes_namespace.ns.metadata.0.name
Expand All @@ -73,11 +73,11 @@ module "consumer-vault" {

# Postgres database for the consumer
module "consumer-postgres" {
depends_on = [kubernetes_config_map.postgres-initdb-config-consumer]
source = "./modules/postgres"
instance-name = "consumer"
depends_on = [kubernetes_config_map.postgres-initdb-config-consumer]
source = "./modules/postgres"
instance-name = "consumer"
init-sql-configs = ["consumer-initdb-config"]
namespace = kubernetes_namespace.ns.metadata.0.name
namespace = kubernetes_namespace.ns.metadata.0.name
}

# DB initialization for the EDC database
Expand Down
10 changes: 5 additions & 5 deletions deployment/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ module "provider-manufacturing-connector" {
}

module "provider-identityhub" {
depends_on = [module.provider-vault]
source = "./modules/identity-hub"
credentials-dir = dirname("./assets/credentials/k8s/provider/")
depends_on = [module.provider-vault]
source = "./modules/identity-hub"
credentials-dir = dirname("./assets/credentials/k8s/provider/")
humanReadableName = "provider-identityhub"
# must be named "provider-identityhub" until we regenerate DIDs and credentials
participantId = var.provider-did
Expand All @@ -69,7 +69,7 @@ module "provider-identityhub" {

# provider standalone STS
module "provider-sts" {
depends_on = [module.provider-vault]
depends_on = [module.provider-vault]
source = "./modules/sts"
humanReadableName = "provider-sts"
namespace = kubernetes_namespace.ns.metadata.0.name
Expand Down Expand Up @@ -107,7 +107,7 @@ module "provider-vault" {

# Postgres database for the consumer
module "provider-postgres" {
depends_on = [kubernetes_config_map.postgres-initdb-config-cs]
depends_on = [kubernetes_config_map.postgres-initdb-config-cs]
source = "./modules/postgres"
instance-name = "provider"
init-sql-configs = [
Expand Down

0 comments on commit c0cc43b

Please sign in to comment.