Skip to content

Commit

Permalink
try deduplicate programmatic client export names
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Mar 4, 2024
1 parent 376ddc4 commit 90e9879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
)
else:
auth_provider_client = self.add_programmatic_client(
"cognito-identity-pool-auth-provider",
f"{stack_name}-identity-provider",
name="Identity Pool Authentication Provider",
)
if app_settings.data_managers_role_arn:
Expand Down Expand Up @@ -333,8 +333,8 @@ def add_programmatic_client(
stack_name = Stack.of(self).stack_name
CfnOutput(
self,
f"cognito-sdk-{service_id}-secret",
export_name=f"{stack_name}-cognito-sdk-secret",
f"{service_id}-secret",
export_name=f"{service_id}-secret",
value=cognito_sdk_secret.secret_name,
)

Expand Down

0 comments on commit 90e9879

Please sign in to comment.