Skip to content

Instantly share code, notes, and snippets.

@dgolja
Created July 20, 2017 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgolja/1c80d16db90d9bbea5fa1cce21d9f8f9 to your computer and use it in GitHub Desktop.
Save dgolja/1c80d16db90d9bbea5fa1cce21d9f8f9 to your computer and use it in GitHub Desktop.
terraform911 plan -out bla.plan
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_template.instance_template: Refreshing state... (ID: dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
Your plan was also saved to the path below. Call the "apply" subcommand
with this plan file and Terraform will exactly execute this execution
plan.
Path: bla.plan
-/+ google_compute_instance_template.instance_template
automatic_restart: "false" => "true" (forces new resource)
can_ip_forward: "false" => "false"
disk.#: "1" => "1"
disk.0.auto_delete: "true" => "true"
disk.0.boot: "true" => "true"
disk.0.disk_type: "pd-ssd" => "pd-ssd"
disk.0.interface: "SCSI" => "<computed>"
disk.0.mode: "READ_WRITE" => "<computed>"
disk.0.source_image: "projects/ubuntu-os-cloud/global/images/ubuntu-1604-xenial-v20170619a" => "projects/ubuntu-os-cloud/global/images/ubuntu-1604-xenial-v20170619a"
disk.0.type: "PERSISTENT" => "<computed>"
machine_type: "n1-standard-1" => "n1-standard-1"
metadata_fingerprint: "B9Pb5O5Bki4=" => "<computed>"
name: "dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938" => "<computed>"
name_prefix: "dgolja-instance-template-tf-bug" => "dgolja-instance-template-tf-bug"
network_interface.#: "1" => "1"
network_interface.0.network: "default" => "default"
network_interface.0.subnetwork_project: "" => "<computed>"
project: "cloud-staging-168820" => "<computed>"
region: "us-central1" => "us-central1"
scheduling.#: "1" => "1"
scheduling.0.automatic_restart: "false" => "false"
scheduling.0.on_host_maintenance: "MIGRATE" => "MIGRATE"
scheduling.0.preemptible: "false" => "false"
self_link: "https://www.googleapis.com/compute/v1/projects/cloud-staging-168820/global/instanceTemplates/dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938" => "<computed>"
service_account.#: "1" => "1"
service_account.0.email: "" => "<computed>"
service_account.0.scopes.#: "1" => "1"
service_account.0.scopes.0: "https://www.googleapis.com/auth/userinfo.email" => "https://www.googleapis.com/auth/userinfo.email"
tags_fingerprint: "" => "<computed>"
Plan: 1 to add, 0 to change, 1 to destroy.
terraform911 apply
google_compute_instance_template.instance_template: Refreshing state... (ID: dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938)
google_compute_instance_template.instance_template: Creating...
automatic_restart: "" => "true"
can_ip_forward: "" => "false"
disk.#: "" => "1"
disk.0.auto_delete: "" => "true"
disk.0.boot: "" => "true"
disk.0.disk_type: "" => "pd-ssd"
disk.0.interface: "" => "<computed>"
disk.0.mode: "" => "<computed>"
disk.0.source_image: "" => "projects/ubuntu-os-cloud/global/images/ubuntu-1604-xenial-v20170619a"
disk.0.type: "" => "<computed>"
machine_type: "" => "n1-standard-1"
metadata_fingerprint: "" => "<computed>"
name: "" => "<computed>"
name_prefix: "" => "dgolja-instance-template-tf-bug"
network_interface.#: "" => "1"
network_interface.0.network: "" => "default"
network_interface.0.subnetwork_project: "" => "<computed>"
project: "" => "<computed>"
region: "" => "us-central1"
scheduling.#: "" => "1"
scheduling.0.automatic_restart: "" => "false"
scheduling.0.on_host_maintenance: "" => "MIGRATE"
scheduling.0.preemptible: "" => "false"
self_link: "" => "<computed>"
service_account.#: "" => "1"
service_account.0.email: "" => "<computed>"
service_account.0.scopes.#: "" => "1"
service_account.0.scopes.0: "" => "https://www.googleapis.com/auth/userinfo.email"
tags_fingerprint: "" => "<computed>"
google_compute_instance_template.instance_template: Still creating... (10s elapsed)
google_compute_instance_template.instance_template: Creation complete (ID: dgolja-instance-template-tf-bug00de87322c66f169657f77ae98)
google_compute_instance_template.instance_template (deposed #0): Destroying... (ID: dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938)
google_compute_instance_template.instance_template (deposed #0): Still destroying... (ID: dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938, 10s elapsed)
google_compute_instance_template.instance_template (deposed #0): Destruction complete
Apply complete! Resources: 1 added, 0 changed, 1 destroyed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment