terraform-provider-google
terraform-provider-google copied to clipboard
Error updating workbench labels in VertexAI
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- If an issue is assigned to the
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.
Terraform Version
Terraform v1.2.9 hashicorp/google v5.14.0
Affected Resource(s)
google_notebooks_runtime
Terraform Configuration Files
terraform {
required_version = ">= 0.15"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 5.0"
}
}
}
resource "google_notebooks_runtime" "runtime" {
name = "notebooks-runtime"
location = "europe-west4"
project = "MyProject"
access_config {
access_type = "SINGLE_USER"
runtime_owner = "XXXXX"
}
virtual_machine {
virtual_machine_config {
machine_type = "n1-standard-1"
data_disk {
initialize_params {
disk_size_gb = "50"
disk_type = "PD_STANDARD"
}
}
}
}
labels = {
"provider" = "go",
"region" = "euw4",
"environment" = "tst",
"app" = "myapp",
}
}
Expected Behavior
Labels can be updated
Actual Behavior
│ Error: Error waiting for Updating Runtime: Error code 3, message: labels can't be updated │ │ with google_notebooks_runtime.runtime, │ on main.tf line 16, in resource "google_notebooks_runtime" "runtime": │ 16: resource "google_notebooks_runtime" "runtime" {
Steps to Reproduce
-
terraform apply
- Modify tags value: labels = { "provider" = "go", "region" = "euw4", "environment" = "tst", "app" = "newapp", }
-
terraform apply
b/323334345
I can repro the issue. This appears to be an API bug.
labels
is part of Instance which is supposed to be updatable specified in updateMask
Any update on this @edwardmedia ?