Getting error While deploying Certificate manager using CDK #22669
Unanswered
GirishMadheswaran
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It seems the value of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am getting the below error while trying to create the Certificate manager in CDK, getting error in domainName,
I have used "hello.example.com" as a domain name.Anyone please help me regarding this or guide me how to use the domainName and done a certificate Validation,I have used the route53 Zone name as a "example.com" as mentioned in the CDK docs- https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.CertificateProps.html
20:41:31 | CREATE_FAILED | AWS::CertificateManager::Certificate | certificatemanager4BF1F6CE
1 validation error detected: Value 'certificatemanager' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: ^(*.)?(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9]).)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$ (Service: AWSCertificateManager; Status Code: 400; Error Code: ValidationException; Request ID: 1b5f456e-0413-4b24-a5de-3bec1233bd9d; Proxy: null)
Beta Was this translation helpful? Give feedback.
All reactions