From d020c18f2e3f97562779ef7b642dcb6f0371f438 Mon Sep 17 00:00:00 2001 From: Theo Skolnik Date: Thu, 28 Mar 2024 11:04:53 -0700 Subject: [PATCH] makes special chars change further down --- locals.tf | 8 +------- main.tf | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/locals.tf b/locals.tf index 6d688c9e..44a163e8 100644 --- a/locals.tf +++ b/locals.tf @@ -21,13 +21,7 @@ locals { network_private_subnet_cidrs = var.deploy_vpc ? module.networking[0].network_private_subnet_cidrs : var.network_private_subnet_cidrs database = try( - { - name = module.database[0].name - password = replace(module.database[0].password, "$", "\\$\\$") - endpoint = module.database[0].endpoint - username = module.database[0].username - parameters = module.database[0].parameters - }, + module.database[0], { name = null password = null diff --git a/main.tf b/main.tf index 4ba7ef1c..5f6fb10c 100644 --- a/main.tf +++ b/main.tf @@ -117,7 +117,7 @@ module "database" { # Docker Compose File Config for TFE on instance(s) using Flexible Deployment Options # ------------------------------------------------------------------------------------ module "runtime_container_engine_config" { - source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/runtime_container_engine_config?ref=main" + source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/runtime_container_engine_config?ref=special-db" count = var.is_replicated_deployment ? 0 : 1 tfe_license = var.hc_license