Running into this error ``` gcp:dns:RecordSet (fr...
# general
c
Running into this error
Copy code
gcp:dns:RecordSet (frontend):
    error: unexpected null property rrdatas[0]
w
This is unexpected - I've opened https://github.com/pulumi/pulumi/issues/2433. You should be able to work around this by running
pulumi up --skip-preview
the first time to skip the initial preview - I believe things will work fine after that. But we need to look into why this is causing the failure. Alternatively, if your
apply
callback ensured that it always returned a valid string - that would avoid this problem - such as replacing this:
Copy code
return t[0].accessConfigs[0].assignedNatIp;
With this:
Copy code
return t[0].accessConfigs[0].assignedNatIp || "";
(The ultimate problem is that
.assignedNatIp
is undefined becuase that field does not exist on the
accessConfigs[0]
you provided as input - but that input should never be observable in that form because it will get filled in when the resource is created)
c
Thanks , that solved the issue.