question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[aws-certificatemanager] Add fromCertificateName method to Certificate object

See original GitHub issue

There is currently a fromCertificateArn method on the Certificate object but the problem with using this is that the ARN could change if the resource is recreated leading to any stack referencing this ARN breaking. My proposal gives, I believe, a more robust way of referencing a certificate that would survive the recreation of this resource.

Use Case

In order to reference pre-existing certificates by their name

Proposed Solution

Create a fromCertificateName method on the Certificate object

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:38
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

12reactions
njlynchcommented, Apr 15, 2021

Hi @heiba. We are unable to work on this immediately, and can’t provide an update on when we will be able to get to it.

We use 👍s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.

7reactions
njlynchcommented, Oct 19, 2020

Ok, we can keep this open for a context lookup-based fromCertificateName, that either operates on Tags or the Domain Names. Either option would need to handle the cases where either no such names exist, or multiple records exist with the same names.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS::CertificateManager::Certificate - AWS CloudFormation
The AWS::CertificateManager::Certificate resource requests an AWS Certificate Manager (ACM) certificate that you can use to enable secure connections.
Read more >
Getting certificates ready in AWS Certificate Manager
Enter a custom domain name for your API, for example, api.example.com , in Domain name. Optionally, choose Add another name to this certificate....
Read more >
Importing a certificate - AWS Documentation - Amazon.com
You can import an externally obtained certificate (that is, one provided by a third-party trust services provider) into ACM by using the AWS...
Read more >
RequestCertificate - AWS Certificate Manager
To request an ACM certificate, you must specify a fully qualified domain name ... from the RFC 6125 specification of the certificate validation...
Read more >
aws-cdk/aws-certificatemanager module - AWS Documentation
›@aws-cdk/aws-certificatemanager ... the certificate between stacks in the same CDK application, simply pass the Certificate object between the stacks.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found