From a70c6987d18548546e228dbdfc38e780a2563ba5 Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Fri, 26 Apr 2024 10:21:46 -0600 Subject: [PATCH 1/2] fix: change export name of cognito domain for ci --- infra/stack.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/infra/stack.py b/infra/stack.py index 409f393..448521d 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( From f842c9101a1b7eeb32405501381e60ad17c4d35f Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Fri, 26 Apr 2024 10:38:23 -0600 Subject: [PATCH 2/2] fix: export name hyphen --- infra/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/stack.py b/infra/stack.py index 448521d..b0d0d60 100644 --- a/infra/stack.py +++ b/infra/stack.py @@ -177,7 +177,7 @@ def _add_domain(self, userpool: cognito.UserPool) -> cognito.UserPoolDomain: CfnOutput( self, "cognito-domain", - export_name=f"{stack_name}-cognito_domain", + export_name=f"{stack_name}-cognito-domain", value=domain.base_url(), )