Skip to content

Commit

Permalink
fix: unique export names for cfn outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Mar 5, 2024
1 parent ed29ead commit 2af4229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def add_programmatic_client(
CfnOutput(
self,
f"cognito-sdk-{service_id}-secret",
export_name=f"{stack_name}-cognito-sdk-secret",
export_name=f"{stack_name}-{service_id}-cognito-sdk-secret",
value=f"{stack_name}/{service_id}",
)

Expand Down Expand Up @@ -376,7 +376,7 @@ def add_service_client(
CfnOutput(
self,
f"cognito-app-{service_id}-secret",
export_name=f"{stack_name}-cognito-app-secret",
export_name=f"{stack_name}-{service_id}-cognito-app-secret",
value=f"{stack_name}/{service_id}",
)

Expand Down

0 comments on commit 2af4229

Please sign in to comment.