https://pulumi.com logo
Title
e

echoing-activity-32278

12/19/2021, 3:20 PM
I have project A that creates a dns zone on azure, and I have project B that needs to find out some specific records in the zone. How can I tell project B to achieve that (other than using stack reference)?
l

little-cartoon-10569

12/19/2021, 8:21 PM
You could look up the DNS zone, just as if it weren't created by Pulumi at all.
e

echoing-activity-32278

12/20/2021, 12:51 AM
How to look it up pragamtically?
l

little-cartoon-10569

12/20/2021, 1:13 AM
You could use
getZone
if you just want info from it (https://www.pulumi.com/registry/packages/aws/api-docs/route53/getzone/) or use
Zone.get
if you want a read-only Pulumi resource (https://www.pulumi.com/registry/packages/aws/api-docs/route53/zone/#look-up).
e

echoing-activity-32278

12/20/2021, 2:45 PM
Great! That really helps