I have project A that creates a dns zone on azure,...
# typescript
e
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
You could look up the DNS zone, just as if it weren't created by Pulumi at all.
e
How to look it up pragamtically?
l
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
Great! That really helps