hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

GCE instance updater returned metadata key is protected by workbench notebooks #19342

Open liusha-H opened 1 week ago

liusha-H commented 1 week ago

Question

Hi everyone

in my workbench instance configuration, i config gce_setup metadata as follows

 metadata = {
      idle-timeout-seconds = "10800"
      terraform            = "true"
    }

it worked fine before, but since this week, the terraform apply throw tons of errors

Error: Error waiting for Updating Instance: Error code 3, message: failed updating GCE instance instance updater returned error: metadata key "title" is protected by Workbench Notebooks, invalid argument: invalid argument

Error: Error waiting for Updating Instance: Error code 3, message: failed updating GCE instance instance updater returned error: metadata key "shutdown-script" is protected by Workbench Notebooks, invalid argument: invalid argument

Error: Error waiting for Updating Instance: Error code 3, message: failed updating GCE instance instance updater returned error: metadata key "proxy-mode" is protected by Workbench Notebooks, invalid argument: invalid argument

Error: Error waiting for Updating Instance: Error code 3, message: failed updating GCE instance instance updater returned error: metadata key "notebooks-api" is protected by Workbench Notebooks, invalid argument: invalid argument

i can see the list of provided keys here

but not sure why it keeps telling me these keys are protected by the workbench notebooks?

Also, is there a way may i void the updating of those notebook instances?

Thanks

liusha-H commented 1 week ago

I've tried to downgrade my local version as v5.43.0 (as the latest version it used to work), but still get the metadata key protected by workbench notebooks error?

if anyone could help?