Hi guys! I want to get a specific certificate from...
# typescript
f
Hi guys! I want to get a specific certificate from AWS ACM and according to the documentation there is a possibility to specify tags. So tried this:
Copy code
import * as aws from "@pulumi/aws";

const issued = aws.acm.getCertificate({
    domain: "<http://subdomain.mysite.com|subdomain.mysite.com>",
    tags: {
        Name: "my-speficic-tag-name",
    }
});
export const cert_arn = issued;
An error appears, because I have multiple certificates in AWS ACM for
<http://subdomain.mysite.com|subdomain.mysite.com>
(for example:
<http://dev1.subdomain.mysite.com|dev1.subdomain.mysite.com>
,
<http://dev2.subdomain.mysite.com|dev2.subdomain.mysite.com>
, etc...). Is it possible to make it works? Or filter by additional domain names? In my case I need to get a wildcard certificate
*.<http://subdomain.mysite.com|subdomain.mysite.com>
Thanks!