Skip to content

Commit

Permalink
fix: custom cfn out for each secret based on service id
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Jan 17, 2024
1 parent aa605e8 commit a8c2421
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 @@ -337,7 +337,7 @@ def add_programmatic_client(
CfnOutput(
self,
f"cognito-sdk-{service_id}-secret",
export_name=f"{stack_name}-cognito-sdk-secret",
export_name=f"{service_id}-cognito-sdk-secret",
value=cognito_sdk_secret.secret_name,
)

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

Expand Down

0 comments on commit a8c2421

Please sign in to comment.