From c808e4d4579ca8d5eb04847cc4ce109d510ff05c Mon Sep 17 00:00:00 2001 From: Marat Salimzianov Date: Wed, 11 Dec 2024 14:39:34 +0100 Subject: [PATCH] Return RegionalHostedZoneId from the stack --- infrastructure/parallelcluster-ui.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infrastructure/parallelcluster-ui.yaml b/infrastructure/parallelcluster-ui.yaml index 11b7b99a..3569f27a 100644 --- a/infrastructure/parallelcluster-ui.yaml +++ b/infrastructure/parallelcluster-ui.yaml @@ -1109,8 +1109,15 @@ Outputs: Condition: UseCustomDomain Description: | The endpoint associated with the custom domain name. - Add an A record in your DNS for the PCUI custom domain name pointing to this endpoint. + Add an A alias record in your DNS for the PCUI custom domain name pointing to this endpoint. + https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-api-gateway.html#routing-to-api-gateway-config Value: !GetAtt ApiGatewayCustomDomain.RegionalDomainName + CustomDomainRegionalHostedZoneId: + Condition: UseCustomDomain + Description: | + The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. + You need this while creating Route53 alias + Value: !GetAtt ApiGatewayCustomDomain.RegionalHostedZoneId AppClientId: Description: The id of the Cognito app client Value: !Ref CognitoAppClient