<https://www.pulumi.com/docs/reference/pkg/gcp/dns...
# google-cloud
h
https://www.pulumi.com/docs/reference/pkg/gcp/dns/managedzone/ Can somebody tell me how to get existing ManagedZone and what is this id field exactly?
l
To access info of an existing ManagedZone, you will have to use this data source: https://www.pulumi.com/docs/reference/pkg/gcp/dns/getmanagedzone/#using
👍 1
b
isn't smarter to import ? https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/ This way you also control the changes on existing resourses...
h
is there some kind of benefit of importing resource if the only thing i want to do is read its properties?
b
no, not really 🙂 unless you want to manage that resource
👍 1