Unable to attach ACM Public certificate with ALB Listener using Lambda across account

Question:

I am creating ACM public certificate in AWS organization account using lambda function from master account,

code to create ACM Cert and attach with listener is:

But I am getting this error:

anyone please help. Main domain is in master account and creating certificate for subdomain aws organization cross account.

Answer:

I have fixed this issue, after getting ACM cert, you have to validate after some wait time. you can use following code snippet:

hopefully this will solve your prob also.

Leave a Reply