Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marcusramberg/1dcdd3b2df915adb7014b4d65815f0df to your computer and use it in GitHub Desktop.
Save marcusramberg/1dcdd3b2df915adb7014b4d65815f0df 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_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no)
google_compute_instance_group.dev-solr-group: Refreshing state... (ID: europe-west1-c/dev-solr-group)
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: r12-no/dev-solr02.r12.no./A)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
~ update in-place
Terraform will perform the following actions:
+ google_compute_instance.dev-solr[1]
id: <computed>
boot_disk.#: "1"
boot_disk.0.auto_delete: "false"
boot_disk.0.device_name: <computed>
boot_disk.0.disk_encryption_key_sha256: <computed>
boot_disk.0.initialize_params.#: "1"
boot_disk.0.initialize_params.0.image: "ubuntu-os-cloud/ubuntu-1604-lts"
boot_disk.0.initialize_params.0.size: "50"
boot_disk.0.initialize_params.0.type: "pd-ssd"
can_ip_forward: "false"
cpu_platform: <computed>
create_timeout: "4"
deletion_protection: "false"
description: "Instance for dev solr sharding"
guest_accelerator.#: <computed>
instance_id: <computed>
label_fingerprint: <computed>
machine_type: "n1-highmem-16"
metadata_fingerprint: <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\n"
name: "dev-solr02"
network_interface.#: "1"
network_interface.0.access_config.#: "1"
network_interface.0.access_config.0.assigned_nat_ip: <computed>
network_interface.0.access_config.0.nat_ip: <computed>
network_interface.0.address: <computed>
network_interface.0.name: <computed>
network_interface.0.network: "default"
network_interface.0.network_ip: <computed>
network_interface.0.subnetwork_project: <computed>
project: <computed>
scheduling.#: "1"
scheduling.0.automatic_restart: "true"
scheduling.0.on_host_maintenance: "MIGRATE"
scheduling.0.preemptible: "false"
scratch_disk.#: "2"
scratch_disk.0.interface: "SCSI"
scratch_disk.1.interface: "SCSI"
self_link: <computed>
tags.#: "2"
tags.1812359368: "solr"
tags.292811013: "dev"
tags_fingerprint: <computed>
zone: "europe-west1-c"
~ google_compute_instance_group.dev-solr-group
instances.#: "" => <computed>
~ google_dns_record_set.solr-internal[1]
rrdatas.#: "1" => <computed>
Plan: 1 to add, 2 to change, 0 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