From 32bb95569fe3c02f336e0f923276540afed1593d Mon Sep 17 00:00:00 2001 From: Derek Helmick Date: Sat, 22 Feb 2020 17:44:43 -0500 Subject: [PATCH] Fixes hosted-zone validation for 13char ALB hzs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hosted zones for ALBs can apparently be 13 characters. This fix accommodates that. ``` ➜ ~ aws elbv2 describe-load-balancers | jq '.LoadBalancers[0].CanonicalHostedZoneId' -r Z1H1FL5HABSF5 ``` --- templates/aws-refarch-wordpress-05-route53.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/aws-refarch-wordpress-05-route53.yaml b/templates/aws-refarch-wordpress-05-route53.yaml index 7b5ba80..d05b9fd 100644 --- a/templates/aws-refarch-wordpress-05-route53.yaml +++ b/templates/aws-refarch-wordpress-05-route53.yaml @@ -34,7 +34,7 @@ Parameters: Description: The DNS endpoint - CloudFront DNS if using CloudFront else Public ELB DNS name. Type: String DnsHostId: - AllowedPattern: ^[A-Z0-9]{14}$ + AllowedPattern: ^[A-Z0-9]{13,14}$ Description: The DNS host zone id - 'Z2FDTNDATAQYW2' if using CloudFront else Public ELB host zone id. Type: String WPDomainName: