Hi, I see these warnings on `refresh` and `update`...
# google-cloud
b
Hi, I see these warnings on
refresh
and
update
. I tried to manipulate with the state directly, removed
subnetworks
from the
inputs
but that didn’t help. 🤷🏻‍♀️ Is there something I can do about it? Only re-importing?
Copy code
Diagnostics:
  gcp:compute:RouterNat (x):
    warning: Failed to calculate preview for element in subnetworks: interface conversion: interface {} is []interface {}, not *schema.Set
    warning: Failed to calculate preview for element in subnetworks: interface conversion: interface {} is []interface {}, not *schema.Set

  gcp:compute:SecurityPolicy (y):
    warning: Failed to calculate preview for element in rules: interface conversion: interface {} is []interface {}, not *schema.Set
    warning: Failed to calculate preview for element in rules: interface conversion: interface {} is []interface {}, not *schema.Set
    warning: Failed to calculate preview for element in rules: interface conversion: interface {} is []interface {}, not *schema.Set
    warning: Failed to calculate preview for element in rules: interface conversion: interface {} is []interface {}, not *schema.Set

  gcp:compute:RouterNat (z):
    warning: Failed to calculate preview for element in subnetworks: interface conversion: interface {} is []interface {}, not *schema.Set
    warning: Failed to calculate preview for element in subnetworks: interface conversion: interface {} is []interface {}, not *schema.Set
a
Hey, this looks like https://github.com/pulumi/pulumi-gcp/issues/2953 Can you try upgrading your provider version and see if it fixes it?
b
Yes,
go get -u
helped. Thanks a lot!