diff --git a/aws/cloudformation-templates/template.yaml b/aws/cloudformation-templates/template.yaml index a2393d053..9737c1ec1 100644 --- a/aws/cloudformation-templates/template.yaml +++ b/aws/cloudformation-templates/template.yaml @@ -727,7 +727,7 @@ Resources: WebURL: !If [ ConditionCustomDomain, - CloudfrontCustomDomain, + !Ref CloudfrontCustomDomain, !GetAtt Base.Outputs.WebUICDNURL ] LambdaVpcSecurityGroup: !GetAtt Base.Outputs.PrivateVPCSecurityGroup