Following through the SST docs to add an existing ...
# help
r
Following through the SST docs to add an existing cert for a custom domain, here https://docs.serverless-stack.com/constructs/StaticSite#importing-an-existing-certificate-route-53-domains I keep getting this warning
Copy code
[WARNING] @aws-cdk/core.ConstructNode#metadata is deprecated.
  use `metadataEntry`
  This API will be removed in the next major release.
Hard to pinpoint exactly what's causing it but I think its the call to
certificate: Certificate.fromCertificateArn(_this_, "MyCert", certArn),
which seems to come from the CDK. So far only able to find this (https://github.com/aws/aws-cdk/issues/17633) so maybe a CDK version bump will do it. Anyone else seeing this warning?
Updating to 0.58.0 seemed to do the trick. Now to get up to 0.59.1 with the rest of the cool kids 🙂