Skip to content

Commit 649e372

Browse files
Fix: Update module references to use terraform-random-tfe-utility external modules
Updated module sources to reference the external terraform-random-tfe-utility repository with the pravi-postgres-passwordless branch that contains the critical TFE environment variable fixes. Changes: - runtime_container_engine_config: ./modules -> git::...//modules/runtime_container_engine_config?ref=pravi-postgres-passwordless - tfe_init: ./modules -> git::...//modules/tfe_init?ref=pravi-postgres-passwordless - settings: ./modules -> git::...//modules/settings?ref=pravi-postgres-passwordless - tfe_init_replicated: ./modules -> git::...//modules/tfe_init_replicated?ref=pravi-postgres-passwordless These modules were referencing non-existent local modules and needed to use the external modules that contain the proper environment variable configuration for AWS RDS IAM authentication.
1 parent ad4c7a8 commit 649e372

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ module "aurora_database" {
254254
# Docker Compose File Config for TFE on instance(s) using Flexible Deployment Options
255255
# ------------------------------------------------------------------------------------
256256
module "runtime_container_engine_config" {
257-
source = "./modules/runtime_container_engine_config"
257+
source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/runtime_container_engine_config?ref=pravi-postgres-passwordless"
258258
count = var.is_replicated_deployment ? 0 : 1
259259

260260
tfe_license = var.hc_license
@@ -346,7 +346,7 @@ module "runtime_container_engine_config" {
346346
# AWS cloud init used to install and configure TFE on instance(s) using Flexible Deployment Options
347347
# --------------------------------------------------------------------------------------------------
348348
module "tfe_init_fdo" {
349-
source = "./modules/tfe_init"
349+
source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/tfe_init?ref=pravi-postgres-passwordless"
350350
count = var.is_replicated_deployment ? 0 : 1
351351

352352
cloud = "aws"
@@ -391,7 +391,7 @@ module "tfe_init_fdo" {
391391
# TFE and Replicated settings to pass to the tfe_init_replicated module for replicated deployment
392392
# --------------------------------------------------------------------------------------------
393393
module "settings" {
394-
source = "./modules/settings"
394+
source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/settings?ref=pravi-postgres-passwordless"
395395
count = var.is_replicated_deployment ? 1 : 0
396396

397397
# TFE Base Configuration
@@ -453,7 +453,7 @@ module "settings" {
453453
# AWS user data / cloud init used to install and configure TFE on instance(s)
454454
# -----------------------------------------------------------------------------
455455
module "tfe_init_replicated" {
456-
source = "./modules/tfe_init_replicated"
456+
source = "git::https://github.com/hashicorp/terraform-random-tfe-utility//modules/tfe_init_replicated?ref=pravi-postgres-passwordless"
457457
count = var.is_replicated_deployment ? 1 : 0
458458

459459
# TFE & Replicated Configuration data

0 commit comments

Comments
 (0)