Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#google-cloud
Title
h
helpful-processor-86468
04/24/2020, 7:15 AM
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
limited-rainbow-51650
04/24/2020, 7:19 AM
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
bland-lamp-16797
04/24/2020, 7:37 AM
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
helpful-processor-86468
04/24/2020, 7:53 AM
is there some kind of benefit of importing resource if the only thing i want to do is read its properties?
b
bland-lamp-16797
04/24/2020, 8:31 AM
no, not really 🙂 unless you want to manage that resource
👍 1
Post