-
I don't know if this is a problem with my code or We've got some code that implements a custom resource to ensure that DNS validation works for ACM-issued certificates created in an AWS account different from the AWS account where Route 53 resides. The custom resource executes a Lambda that is run under the certificate account then assumes a role in order to perform the Route 53 bits. A vastly simplified extract of the custom resource code looks like this:
I've omitted some of the imports and the bulk of the code because I think the problem is in the initialisation of the function. When I call
Line 56 of
and
I don't know how to proceed in order to get my code working again so any help provided would be very much appreciated.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I've found the problem - it was my code. The end of the self.arn = certificate.get_att("Arn") so that:
worked. However, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I've found the problem - it was my code. The end of the
__init__
code forDNSValidatedCertificateCustomResource
had this line:self.arn = certificate.get_att("Arn")
so that:
worked. However,
get_att
needed to beget_att_string
instead. Not quite sure why it worked previously but hey ho!