diff --git a/infra/stack.py b/infra/stack.py index 409f393..b0d0d60 100644 --- a/infra/stack.py +++ b/infra/stack.py @@ -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(