aws_certificatemanager: validating certificate cross account #29645
Labels
@aws-cdk/aws-certificatemanager
Related to Amazon Certificate Manager
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I have 2 accounts, standard and gov cloud. What i'm trying to do is to create a public hosted zone in standard account and generate a public certificate in gov cloud. I will validate the certificate by bringing its CNAME to the hosted zone. However, i'm confused how can i export the hosted zone id cross account.
Below is the hosted zone stack code
Below is the acm stack code
The problem with the code now is that it the parameter store that holds the hosted zone id is generated in standard account and i dont know how to read it from the gov cloud account. Any idea how can i do that or if theres a better method? Thanks
Expected Behavior
Able to validate certificate cross account
Current Behavior
Parameter store is generated in an account where the other account cant read it
Reproduction Steps
Please view the code above
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.131.0 (build 92b912d)
Framework Version
No response
Node.js Version
v18.18.0
OS
Windows
Language
Python
Language Version
Python 3.11.5
Other information
No response
The text was updated successfully, but these errors were encountered: