helpful-kitchen-78641
01/16/2020, 11:40 PMus-west-2
). I am creating a certificate in us-east-1
because I need to use it as part of a cloudfront distribution, which requires the cert to live there.
// [...]
const regionProvider = new aws.Provider('us-east-provider', {region: 'us-east-1'});
const certCertificate = new aws.acm.Certificate('cert', {
domainName: '<http://dashboard.mydomain.com|dashboard.mydomain.com>',
subjectAlternativeNames: [
'*.<http://dashboard.mydomain.com|dashboard.mydomain.com>',
],
validationMethod: 'DNS',
tags,
}, {provider: regionProvider});
const certValidation = new aws.route53.Record('certValidation', {
name: certCertificate.domainValidationOptions[0].resourceRecordName,
records: [certCertificate.domainValidationOptions[0].resourceRecordValue],
ttl: 300,
type: certCertificate.domainValidationOptions[0].resourceRecordType,
zoneId: dashboardR53Zone.id,
});
const certCertificateValidation = new aws.acm.CertificateValidation('cert', {
certificateArn: certCertificate.arn,
validationRecordFqdns: [
certValidation.fqdn,
certValidation.fqdn, // both entries use the same value/name per the AWS console
],
});
After running pulumi up
I receive the following error:
Diagnostics:
aws:acm:CertificateValidation (cert):
error: Error describing certificate: ResourceNotFoundException: Could not find certificate arn:aws:acm:us-east-1:[REDACTED]:certificate/60c[REDACTED]df9d9.
status code: 400, request id: 4c00[REDACTED]aef6
I can see the certificate with that ARN in the AWS console, so I'm not sure how to proceedNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by