From 67c416ab8e3bce904578a3417d659b5d24af023c Mon Sep 17 00:00:00 2001 From: Yuchen Ying Date: Mon, 10 Jun 2024 22:36:56 -0700 Subject: [PATCH 1/2] Add external VPC related configs in the example config file. --- civiform_config.example.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/civiform_config.example.sh b/civiform_config.example.sh index 0acc2fb..6f15a7d 100644 --- a/civiform_config.example.sh +++ b/civiform_config.example.sh @@ -265,6 +265,15 @@ export FARGATE_DESIRED_TASK_COUNT=1 # Some legacy deployments may be using a shorter length, but going forward 64 will be the default. export RANDOM_PASSWORD_LENGTH=64 +# OPTIONAL +# External VPC configs. +# Some CE choose to set up VPCs outside of the Terraform configs provided by CiviForm. +# NOTE: Must set all of them for them to take effect. +export EXTERNAL_VPC_DATABASE_SUBNET_GROUP_NAME="" +export EXTERNAL_VPC_ID="" +export EXTERNAL_VPC_PRIVATE_SUBNET_ID="" +export EXTERNAL_VPC_PRIVATE_SUBNET_ID="" + # generic-oidc Auth configuration ################################################# From dc8c96f45b787e678f5da1e491cfc2ef48334956 Mon Sep 17 00:00:00 2001 From: dkatzz <86739416+dkatzz@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:39:04 -0400 Subject: [PATCH 2/2] Update for multiple subnets --- civiform_config.example.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/civiform_config.example.sh b/civiform_config.example.sh index 6f15a7d..f6672b0 100644 --- a/civiform_config.example.sh +++ b/civiform_config.example.sh @@ -271,8 +271,8 @@ export RANDOM_PASSWORD_LENGTH=64 # NOTE: Must set all of them for them to take effect. export EXTERNAL_VPC_DATABASE_SUBNET_GROUP_NAME="" export EXTERNAL_VPC_ID="" -export EXTERNAL_VPC_PRIVATE_SUBNET_ID="" -export EXTERNAL_VPC_PRIVATE_SUBNET_ID="" +export EXTERNAL_VPC_PRIVATE_SUBNET_IDS=[] +export EXTERNAL_VPC_PUBLIC_SUBNET_IDS=[] # generic-oidc Auth configuration