diff --git a/scripts/aws/EUID_CloudFormation.template.yml b/scripts/aws/EUID_CloudFormation.template.yml index d28d72316..7e0a2c502 100644 --- a/scripts/aws/EUID_CloudFormation.template.yml +++ b/scripts/aws/EUID_CloudFormation.template.yml @@ -5,6 +5,14 @@ Parameters: Description: EUID API Token Type: String NoEcho: true + CoreBaseURL: + Description: CoreBaseURL + Type: String + NoEcho: true + OptoutBaseURL: + Description: OptoutBaseURL + Type: String + NoEcho: true DeployToEnvironment: Description: Environment to deploy to prod/integ Type: String @@ -65,6 +73,8 @@ Metadata: Parameters: - APIToken - DeployToEnvironment + - CoreBaseURL + - OptoutBaseURL - Label: default: Instance Configuration Parameters: @@ -86,6 +96,10 @@ Metadata: default: OPERATOR_KEY provided by EUID Administrator. DeployToEnvironment: default: EUID environment to deploy to. Prod - production; Integ - integration test. + CoreBaseURL: + default: CoreBaseURL + OptoutBaseURL: + default: OptoutBaseURL InstanceType: default: Instance Type for EC2. Minimum 4 vCPUs needed. M5, M5a, M5n, M6i and R6i Instance types are tested. Choose 2xlarge or 4xlarge. SSHKeyName: @@ -161,7 +175,7 @@ Resources: "enclave_memory_mb":24576, "environment":"${DeployToEnvironment}", "core_base_url": "${CoreBaseURL}" - "" + "optout_base_url": "${OptoutBaseURL}" }' WorkerRole: Type: 'AWS::IAM::Role' diff --git a/scripts/aws/UID_CloudFormation.template.yml b/scripts/aws/UID_CloudFormation.template.yml index a693c082e..50651f13b 100644 --- a/scripts/aws/UID_CloudFormation.template.yml +++ b/scripts/aws/UID_CloudFormation.template.yml @@ -5,6 +5,14 @@ Parameters: Description: UID2 API Token Type: String NoEcho: true + CoreBaseURL: + Description: CoreBaseURL + Type: String + NoEcho: true + OptoutBaseURL: + Description: OptoutBaseURL + Type: String + NoEcho: true DeployToEnvironment: Description: Environment to deploy to prod/integ Type: String @@ -65,6 +73,8 @@ Metadata: Parameters: - APIToken - DeployToEnvironment + - CoreBaseURL + - OptoutBaseURL - Label: default: Instance Configuration Parameters: @@ -84,6 +94,10 @@ Metadata: ParameterLabels: APIToken: default: OPERATOR_KEY provided by UID2 Administrator. + CoreBaseURL: + default: CoreBaseURL provided by UID2 Administrator. + OptoutBaseURL: + default: OptoutBaseURL provided by UID2 Administrator. DeployToEnvironment: default: UID2 environment to deploy to. Prod - production; Integ - integration test. InstanceType: @@ -188,7 +202,8 @@ Resources: "enclave_cpu_count":6, "enclave_memory_mb":24576, "environment":"${DeployToEnvironment}", - "core_base_url": "${CoreBaseURL}" + "core_base_url": "${CoreBaseURL}", + "optout_base_url": "${OptoutBaseURL}" }' WorkerRole: Type: 'AWS::IAM::Role'