This message was deleted.
# google-cloud
s
This message was deleted.
w
I’m not all that familiar with these resources, but here are couple of thoughts in case it helps: The example code you reference uses the
id
property instead of the
selfLink
property like in your code. Assuming
selfLink
is correct, then I’m thinking you may want to use
apply()
to resolve the
selfLink
property when used in the dnsManagedZone declaration. For example:
Copy code
const dnsManagedZone = serviceDirectoryNamespace.selfLink.apply(link =>
new gcp.dns.ManagedZone('zone',{
    dnsName: 'fancy.local.',
    project,
    visibility: "private",
    serviceDirectoryConfig: {
      namespace: {
        namespaceUrl: link,
      },
    }
}))
You can read more about what the apply does here: https://www.pulumi.com/docs/intro/concepts/inputs-outputs
a
awesome !
changing from selfLink to id worked
thanks !