Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marcusramberg/f80088d845a3623181eb0ead47a42a0c to your computer and use it in GitHub Desktop.
Save marcusramberg/f80088d845a3623181eb0ead47a42a0c to your computer and use it in GitHub Desktop.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

google_compute_instance.dev-solr[1]: Refreshing state... (ID: dev-solr02)
------------------------------------------------------------------------
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:
-/+ google_compute_instance.dev-solr[1] (new resource required)
 id: "dev-solr02" => <computed> (forces new resource)
boot_disk.#: "1" => "1"
boot_disk.0.auto_delete: "false" => "false"
boot_disk.0.device_name: "persistent-disk-0" => <computed>
boot_disk.0.disk_encryption_key_sha256: "" => <computed>
boot_disk.0.initialize_params.#: "1" => "1"
boot_disk.0.initialize_params.0.image: "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1604-xenial-v20180306" => "ubuntu-os-cloud/ubuntu-1604-lts"
boot_disk.0.initialize_params.0.size: "50" => "50"
boot_disk.0.initialize_params.0.type: "pd-standard" => <computed>
can_ip_forward: "false" => "false"
cpu_platform: "Intel Ivy Bridge" => <computed>
create_timeout: "4" => "4"
deletion_protection: "false" => "false"
description: "Instance for dev solr sharding" => "Instance for dev solr sharding"
guest_accelerator.#: "0" => <computed>
instance_id: "6906080661384714403" => <computed>
label_fingerprint: "42WmSpB8rSM=" => <computed>
machine_type: "n1-highmem-16" => "n1-highmem-16"
metadata_fingerprint: "6xzDw3v_8GU=" => <computed>
metadata_startup_script: "mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc\nmkfs.ext4 -F /dev/md0\nmkdir -p /var/solr\nsudo echo UUID=$(blkid -s UUID -o value /dev/md0) /var/solr ext4 discard,defaults,nobarrier,nofail 0 2 | tee -a /etc/fstab\nmount /var/solr" => "mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc\nmkfs.ext4 -F /dev/md0\nmkdir -p /var/solr\nsudo echo UUID=$(blkid -s UUID -o value /dev/md0) /var/solr ext4 discard,defaults,nobarrier,nofail 0 2 | tee -a /etc/fstab\nmount /var/solr\n" (forces new resource)
name: "dev-solr02" => "dev-solr02"
network_interface.#: "1" => "1"
network_interface.0.access_config.#: "1" => "1"
network_interface.0.access_config.0.assigned_nat_ip: "35.205.55.59" => <computed>
network_interface.0.access_config.0.nat_ip: "35.205.55.59" => <computed>
network_interface.0.address: "10.132.0.13" => <computed>
network_interface.0.name: "nic0" => <computed>
network_interface.0.network: "https://www.googleapis.com/compute/v1/projects/graphic-iridium-144308/global/networks/default" => "default"
network_interface.0.network_ip: "10.132.0.13" => <computed>
network_interface.0.subnetwork_project: "graphic-iridium-144308" => <computed>
project: "graphic-iridium-144308" => <computed>
scheduling.#: "1" => "1"
scheduling.0.automatic_restart: "true" => "true"
scheduling.0.on_host_maintenance: "MIGRATE" => "MIGRATE"
scheduling.0.preemptible: "false" => "false"
scratch_disk.#: "2" => "2"
scratch_disk.0.interface: "SCSI" => "SCSI"
scratch_disk.1.interface: "SCSI" => "SCSI"
self_link: "https://www.googleapis.com/compute/v1/projects/graphic-iridium-144308/zones/europe-west1-c/instances/dev-solr02" => <computed>
tags.#: "2" => "2"
tags.1812359368: "solr" => "solr"
tags.292811013: "dev" => "dev"
tags_fingerprint: "hihOXk2SBQI=" => <computed>
zone: "europe-west1-c" => "europe-west1-c"


Plan: 1 to add, 0 to change, 1 to destroy.
------------------------------------------------------------------------
This plan was saved to: cunning_plan
To perform exactly these actions, run the following command to apply:
terraform apply "cunning_plan"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment