Does anyone know how I can set up the apigateway c...
# aws
v
Does anyone know how I can set up the apigateway custom DomainName when my route 53 hosted zone & ACM cert for that domain are in a different account in the same organization? I’m reading this and am struggling figuring out how to do this with Pulumi
b
expost the route53 zone and acm cert using resource access manager: https://aws.amazon.com/ram/
v
@billowy-army-68599 Super helpful! Thank you
Oh wow that handles the IAM too?? Incredible
👍 1
It seems you can’t share hosted zone IDs… they have a pretty limited list of the resources you can share with RAM. Looking for another solution now
b
oh that sucks 😞 You should be able to set a provider on the resource and update the original account
v
Update: you can have ACM certs for the same domain in different accounts/regions, they just need to be verified by the owner. So I can create a cert during the provisioning of each account, trigger an event to the base account to handle the DNS verification, then use that domain on APIGWs in that account by referencing the cert created in that account
Not too bad actually