Skip to content

Commit

Permalink
makes special chars change further down
Browse files Browse the repository at this point in the history
  • Loading branch information
theoskolnik committed Mar 28, 2024
1 parent a5765c4 commit d020c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d020c18

Please sign in to comment.