Closed MarcoIeni closed 2 months ago
Terraform will perform the following actions: # google_compute_instance_template.agent["c2d-highcpu-8"] must be replaced +/- resource "google_compute_instance_template" "agent" { ~ effective_labels = { + "goog-terraform-provisioned" = "true" } ~ id = "projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000002" -> (known after apply) ~ metadata_fingerprint = "aUIYehI4xwA=" -> (known after apply) ~ name = "crater-agent-20240903090530974400000002" -> (known after apply) + region = (known after apply) ~ self_link = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000002" -> (known after apply) ~ self_link_unique = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000002?uniqueId=7925369757014650804" -> (known after apply) - tags = [] -> null + tags_fingerprint = (known after apply) ~ terraform_labels = { + "goog-terraform-provisioned" = "true" } # (6 unchanged attributes hidden) ~ disk { ~ device_name = "persistent-disk-0" -> (known after apply) ~ interface = "SCSI" -> (known after apply) - labels = {} -> null ~ mode = "READ_WRITE" -> (known after apply) ~ provisioned_iops = 0 -> (known after apply) - resource_manager_tags = {} -> null - resource_policies = [] -> null ~ source_image = "projects/ubuntu-os-cloud/global/images/ubuntu-minimal-2204-jammy-v20240829" -> "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-minimal-2204-jammy-v20240829" ~ type = "PERSISTENT" -> (known after apply) # (4 unchanged attributes hidden) } ~ network_interface { ~ internal_ipv6_prefix_length = 0 -> (known after apply) + ipv6_access_type = (known after apply) + ipv6_address = (known after apply) ~ name = "nic0" -> (known after apply) ~ network = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/networks/crater" -> "crater" - queue_count = 0 -> null + stack_type = (known after apply) + subnetwork = (known after apply) + subnetwork_project = (known after apply) ~ access_config { + nat_ip = (known after apply) ~ network_tier = "PREMIUM" -> (known after apply) + public_ptr_domain_name = (known after apply) } } ~ scheduling { - instance_termination_action = "STOP" -> null # forces replacement - min_node_cpus = 0 -> null ~ on_host_maintenance = "TERMINATE" -> (known after apply) # (3 unchanged attributes hidden) } # (1 unchanged block hidden) } # google_compute_instance_template.agent["n2d-highcpu-16"] must be replaced +/- resource "google_compute_instance_template" "agent" { ~ effective_labels = { + "goog-terraform-provisioned" = "true" } ~ id = "projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000001" -> (known after apply) ~ metadata_fingerprint = "aUIYehI4xwA=" -> (known after apply) ~ name = "crater-agent-20240903090530974400000001" -> (known after apply) + region = (known after apply) ~ self_link = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000001" -> (known after apply) ~ self_link_unique = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000001?uniqueId=7579706515540111284" -> (known after apply) - tags = [] -> null + tags_fingerprint = (known after apply) ~ terraform_labels = { + "goog-terraform-provisioned" = "true" } # (6 unchanged attributes hidden) ~ disk { ~ device_name = "persistent-disk-0" -> (known after apply) ~ interface = "SCSI" -> (known after apply) - labels = {} -> null ~ mode = "READ_WRITE" -> (known after apply) ~ provisioned_iops = 0 -> (known after apply) - resource_manager_tags = {} -> null - resource_policies = [] -> null ~ source_image = "projects/ubuntu-os-cloud/global/images/ubuntu-minimal-2204-jammy-v20240829" -> "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-minimal-2204-jammy-v20240829" ~ type = "PERSISTENT" -> (known after apply) # (4 unchanged attributes hidden) } ~ network_interface { ~ internal_ipv6_prefix_length = 0 -> (known after apply) + ipv6_access_type = (known after apply) + ipv6_address = (known after apply) ~ name = "nic0" -> (known after apply) ~ network = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/networks/crater" -> "crater" - queue_count = 0 -> null + stack_type = (known after apply) + subnetwork = (known after apply) + subnetwork_project = (known after apply) ~ access_config { + nat_ip = (known after apply) ~ network_tier = "PREMIUM" -> (known after apply) + public_ptr_domain_name = (known after apply) } } ~ scheduling { - instance_termination_action = "STOP" -> null # forces replacement - min_node_cpus = 0 -> null ~ on_host_maintenance = "TERMINATE" -> (known after apply) # (3 unchanged attributes hidden) } # (1 unchanged block hidden) } # google_compute_region_instance_group_manager.agents["us-central1-c2d"] will be updated in-place ~ resource "google_compute_region_instance_group_manager" "agents" { id = "projects/rust-crater/regions/us-central1/instanceGroupManagers/crater-agents-us-central1-c2d" name = "crater-agents-us-central1-c2d" # (15 unchanged attributes hidden) ~ version { ~ instance_template = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000002" -> (known after apply) } # (3 unchanged blocks hidden) } # google_compute_region_instance_group_manager.agents["us-central1-n2d"] will be updated in-place ~ resource "google_compute_region_instance_group_manager" "agents" { id = "projects/rust-crater/regions/us-central1/instanceGroupManagers/crater-agents-us-central1-n2d" name = "crater-agents-us-central1-n2d" # (15 unchanged attributes hidden) ~ version { ~ instance_template = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000001" -> (known after apply) } # (3 unchanged blocks hidden) } # google_compute_region_instance_group_manager.agents["us-east1-n2d"] will be updated in-place ~ resource "google_compute_region_instance_group_manager" "agents" { id = "projects/rust-crater/regions/us-east5/instanceGroupManagers/crater-agents-us-east1-n2d" name = "crater-agents-us-east1-n2d" # (15 unchanged attributes hidden) ~ version { ~ instance_template = "https://www.googleapis.com/compute/v1/projects/rust-crater/global/instanceTemplates/crater-agent-20240903090530974400000001" -> (known after apply) } # (3 unchanged blocks hidden) } Plan: 2 to add, 3 to change, 2 to destroy. ╷
The plan looks similar to https://github.com/rust-lang/simpleinfra/pull/492 except for an additional label and other small differences, so I'm applying 👍