Skip to content

Commit

Permalink
Merge pull request #270 from cmurp25/mainline
Browse files Browse the repository at this point in the history
Reattempting new secret in pipeline
  • Loading branch information
D42H5 authored Jan 28, 2025
2 parents edceba8 + 2fd3c11 commit 524d288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cdk/Pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __init__(self, app: App, id: str, *,
)

# Retrieve backend api key from secrets manager
secret_name: str = "SharedApiGatewayKey"
secret_name: str = "BetaSharedApiGatewayKey"
shared_secrets = aws_secretsmanager.Secret.from_secret_name_v2(
self,
"SharedGatewaySecrets",
Expand All @@ -112,6 +112,7 @@ def __init__(self, app: App, id: str, *,
'npm install',

# Add the backend key to the .env file in the visitor-console directory
f'echo "Shared Api Key Type: {type(shared_api_key)}"',
f'echo "VITE_BACKEND_KEY={shared_api_key.to_string()}" > .env',

# build for beta
Expand Down

0 comments on commit 524d288

Please sign in to comment.