sparse-intern-71089
02/07/2019, 1:10 AMwhite-balloon-205
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:
return t[0].accessConfigs[0].assignedNatIp;
With this:
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)chilly-photographer-60932
02/07/2019, 2:05 AM