diff --git a/scripts/aws/create_cloudformation_stack.py b/scripts/aws/create_cloudformation_stack.py index 1c1cb5e..b0f0ad0 100644 --- a/scripts/aws/create_cloudformation_stack.py +++ b/scripts/aws/create_cloudformation_stack.py @@ -68,7 +68,7 @@ def create_cloudformation_stack(client, stack_name, cft_content, api_token, dc_c secrets = secrets[:core_index] + secrets[core_index+2:] optout_index = secrets.index('"optout_base_url": ') secrets = secrets[:optout_index] + secrets[optout_index+2:] -secrets = secrets[:1] + [f', "core_base_url": "{args.core_url}"',f', "optout_base_url": "{args.core_url}"', ', "skip_validation": "true"'] + secrets[1:] +secrets = secrets[:1] + [f', "core_base_url": "{args.core_url}"',f', "optout_base_url": "{args.core_url}"', ', "skip_validation": "true"', ', "debug_mode": "true"'] + secrets[1:] cft['Resources']['TokenSecret']['Properties']['SecretString']['Fn::Join'][1] = secrets print(dump_yaml(cft))