Skip to content

Commit

Permalink
FIx CFN templates
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd committed Dec 18, 2024
1 parent 47b841c commit 51e5c6b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
16 changes: 15 additions & 1 deletion scripts/aws/EUID_CloudFormation.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -65,6 +73,8 @@ Metadata:
Parameters:
- APIToken
- DeployToEnvironment
- CoreBaseURL
- OptoutBaseURL
- Label:
default: Instance Configuration
Parameters:
Expand All @@ -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:
Expand Down Expand Up @@ -161,7 +175,7 @@ Resources:
"enclave_memory_mb":24576,
"environment":"${DeployToEnvironment}",
"core_base_url": "${CoreBaseURL}"
""
"optout_base_url": "${OptoutBaseURL}"
}'
WorkerRole:
Type: 'AWS::IAM::Role'
Expand Down
17 changes: 16 additions & 1 deletion scripts/aws/UID_CloudFormation.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -65,6 +73,8 @@ Metadata:
Parameters:
- APIToken
- DeployToEnvironment
- CoreBaseURL
- OptoutBaseURL
- Label:
default: Instance Configuration
Parameters:
Expand All @@ -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:
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 51e5c6b

Please sign in to comment.