-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_certificatemanager: new Certificate fails in eu-central-1 #27743
Comments
When you run this in If not, I guess you will need to first create that in a separate stack in us-east-1 and export the ARN for this stack to import. certificate: new aws_certificatemanager.Certificate( this, 'Certificate', {
domainName: siteDomain,
subjectAlternativeNames: [ "www." + siteDomain ],
validation: aws_certificatemanager.CertificateValidation.fromDns( hostedZone ),
} ) |
Thats what seems to be the solution for this. |
|
sorry, accidentally closed the issue. Problem still persists. |
See #25343 |
All right, thanks! Since this is clearly not a bug, but desired behavior, I will close this issue. |
|
Describe the bug
I am deploying a static website hosted in S3 with a CloudFront Distribution, hier ist the relavant part:
the deployment into eu-central-1 fails with the following log messages in CloudFormation
When I replace the certificate part with the depricated
DnsValidatedCertificate
:it deploys without problems.
I have not tried to deploy this exact stack into other regions.
Expected Behavior
It should create the certificate using my Hosted Zone and create the distribution without problem.
Current Behavior
deployment fails because of what looks like an issue when creating the cert see log: "Content of DNS Record is: null".
Reproduction Steps
create a stack with above distribution and make sure it's deployed to eu-central-1
npm run build
cdk synth
cdk deploy
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.103.1 (build 3bb19ac)
Framework Version
2.103.1 (build 3bb19ac)
Node.js Version
18
OS
Windows
Language
TypeScript
Language Version
TypeScript (5.2.2)
Other information
No response
The text was updated successfully, but these errors were encountered: