Skip to content

Commit

Permalink
Always run in degub mode in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd committed Dec 20, 2024
1 parent a361d6a commit c029e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws/create_cloudformation_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"', ', "debug_mode": "true"'] + secrets[1:]
secrets = secrets[:1] + [f', "core_base_url": "http://{args.core_url}"',f', "optout_base_url": "http://{args.optout_url}"', ', "skip_validation": "true"', ', "debug_mode": "true"'] + secrets[1:]
cft['Resources']['TokenSecret']['Properties']['SecretString']['Fn::Join'][1] = secrets

print(dump_yaml(cft))
Expand Down

0 comments on commit c029e84

Please sign in to comment.