Skip to content

Commit

Permalink
fix: change export name of cognito domain for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Apr 26, 2024
1 parent 00e6b2c commit a70c698
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infra/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ def _add_domain(self, userpool: cognito.UserPool) -> cognito.UserPoolDomain:
value=domain.base_url(),
)

CfnOutput(
self,
"cognito-domain",
export_name=f"{stack_name}-cognito_domain",
value=domain.base_url(),
)

return domain

def _get_client_secret(
Expand Down

0 comments on commit a70c698

Please sign in to comment.