Skip to content

Instantly share code, notes, and snippets.

@kintel
Created March 3, 2021 18:16
Show Gist options
  • Save kintel/a7fdab0e76b8fb5e396dafc4eae53975 to your computer and use it in GitHub Desktop.
Save kintel/a7fdab0e76b8fb5e396dafc4eae53975 to your computer and use it in GitHub Desktop.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.my_vm.google_compute_instance.dev_vm must be replaced
-/+ resource "google_compute_instance" "dev_vm" {
allow_stopping_for_update = true
can_ip_forward = false
~ cpu_platform = "Intel Haswell" -> (known after apply)
~ current_status = "RUNNING" -> (known after apply)
deletion_protection = false
- enable_display = false -> null
~ guest_accelerator = [] -> (known after apply)
~ id = "projects/kintel-safergcp-devvm/zones/us-central1-b/instances/dev-vm" -> (known after apply)
~ instance_id = "794065810423532210" -> (known after apply)
~ label_fingerprint = "42WmSpB8rSM=" -> (known after apply)
- labels = {} -> null
machine_type = "e2-standard-2"
metadata = {
"enable-oslogin" = "TRUE"
}
~ metadata_fingerprint = "C8D6OLHpUBc=" -> (known after apply)
+ min_cpu_platform = (known after apply)
name = "dev-vm"
project = "kintel-safergcp-devvm"
- resource_policies = [] -> null
~ self_link = "https://www.googleapis.com/compute/v1/projects/kintel-safergcp-devvm/zones/us-central1-b/instances/dev-vm" -> (known after apply)
tags = [
"vm",
]
~ tags_fingerprint = "5bD4T1gEBmM=" -> (known after apply)
zone = "us-central1-b"
~ boot_disk {
auto_delete = true
~ device_name = "persistent-disk-0" -> (known after apply)
+ disk_encryption_key_sha256 = (known after apply)
+ kms_key_self_link = (known after apply)
mode = "READ_WRITE"
~ source = "https://www.googleapis.com/compute/v1/projects/kintel-safergcp-devvm/zones/us-central1-b/disks/dev-vm" -> (known after apply)
~ initialize_params {
~ image = "https://www.googleapis.com/compute/beta/projects/cos-cloud/global/images/cos-85-13310-1209-17" -> "projects/cos-cloud/global/images/family/cos-85-lts" # forces replacement
~ labels = {} -> (known after apply)
~ size = 10 -> (known after apply)
~ type = "pd-standard" -> (known after apply)
}
}
~ network_interface {
~ name = "nic0" -> (known after apply)
~ network = "https://www.googleapis.com/compute/v1/projects/kintel-safergcp-devvm/global/networks/vm-network" -> (known after apply)
~ network_ip = "10.12.0.3" -> (known after apply)
subnetwork = "https://www.googleapis.com/compute/v1/projects/kintel-safergcp-devvm/regions/us-central1/subnetworks/vm-subnet"
~ subnetwork_project = "kintel-safergcp-devvm" -> (known after apply)
}
~ scheduling {
~ automatic_restart = true -> (known after apply)
~ min_node_cpus = 0 -> (known after apply)
~ on_host_maintenance = "MIGRATE" -> (known after apply)
~ preemptible = false -> (known after apply)
+ node_affinities {
+ key = (known after apply)
+ operator = (known after apply)
+ values = (known after apply)
}
}
service_account {
email = "vm-insecure@kintel-safergcp-devvm.iam.gserviceaccount.com"
scopes = [
"https://www.googleapis.com/auth/cloud-platform",
]
}
- shielded_instance_config {
- enable_integrity_monitoring = true -> null
- enable_secure_boot = false -> null
- enable_vtpm = true -> null
}
}
Plan: 1 to add, 0 to change, 1 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment