Closed liusha-H closed 5 days ago
Hi @liusha-H !
I tried to replicate this issue, but you have a lot of data that we don't have access to. With the next configuration everything works fine without errors. You should check it, as well as each variable and value you have to be sure that your configuration is appropriate. If after this you still continue with issues share with us your full code to check your full code.
resource "google_service_account" "sa_19363" {
account_id = "sa-19363"
}
resource "google_compute_network" "cn_19363" {
name = "cn-19363"
auto_create_subnetworks = "false"
project = "my-project"
}
resource "google_compute_subnetwork" "csn_19363" {
name = "csn-19363"
network = google_compute_network.cn_19363.id
ip_cidr_range = "10.0.36.0/24"
region = "us-central1"
project = "my-project"
}
resource "google_workbench_instance" "wi_19363" {
name = "wi-19363"
location = "us-central1-a"
instance_owners = ["my-user@my-domain.com"]
project = "my-project"
gce_setup {
machine_type = "n1-standard-4"
vm_image {
project = "cloud-notebooks-managed"
family = "workbench-instances"
}
service_accounts {
email = google_service_account.sa_19363.email
}
boot_disk {
disk_size_gb = 310
disk_type = "PD_SSD"
}
data_disks {
disk_size_gb = 330
disk_type = "PD_SSD"
}
network_interfaces {
network = google_compute_network.cn_19363.id
subnet = google_compute_subnetwork.csn_19363.id
}
metadata = {
terraform = "true"
idle-timeout-seconds = "10800"
}
disable_public_ip = false
enable_ip_forwarding = true
tags = ["abc", "def"]
accelerator_configs {
type = "NVIDIA_TESLA_T4"
core_count = 1
}
}
disable_proxy_access = true
labels = {
k = "val"
}
desired_state = "ACTIVE"
}
Thanks @ggtisc I tried it last Friday, seems like it worked, not sure if that's a Google api issue maybe?
will double check today, see if it still the issue
Hi @ggtisc , just gave it a go this morning, and the issue seems fixed (only saw it happened between 2nd to 4th September), anyway, thanks for replying re this topic, feel free to close this issue please
It was a pleasure, have happy coding.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.5.5
Affected Resource(s)
Workbench instance
Terraform Configuration
Debug Output
Expected Behavior
existing workbench instances updated and new instances created
Actual Behavior
missing argument as exit code 3
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response