Skip to content

Instantly share code, notes, and snippets.

@falmp
Created June 26, 2016 06:14
Show Gist options
  • Save falmp/4818363c474e49e97867a7cf67ada555 to your computer and use it in GitHub Desktop.
Save falmp/4818363c474e49e97867a7cf67ada555 to your computer and use it in GitHub Desktop.
google_compute_firewall.slave: Creating...
allow.#: "" => "1"
allow.2437820978.ports.#: "" => "2"
allow.2437820978.ports.1314869661: "" => "80"
allow.2437820978.protocol: "" => "tcp"
name: "" => "slave-firewall"
network: "" => "default"
self_link: "" => "<computed>"
source_ranges.#: "" => "1"
source_ranges.1080289494: "" => "0.0.0.0/0"
target_tags.#: "" => "1"
target_tags.67686153: "" => "slave"
google_compute_disk.slave.2: Creating...
name: "" => "slave-2"
self_link: "" => "<computed>"
size: "" => "200"
zone: "" => "us-east1-b"
google_compute_disk.slave.0: Creating...
name: "" => "slave-0"
self_link: "" => "<computed>"
size: "" => "200"
zone: "" => "us-east1-b"
google_compute_disk.slave.1: Creating...
name: "" => "slave-1"
self_link: "" => "<computed>"
size: "" => "200"
zone: "" => "us-east1-b"
google_compute_firewall.slave: Still creating... (10s elapsed)
google_compute_disk.slave.2: Still creating... (10s elapsed)
google_compute_disk.slave.0: Still creating... (10s elapsed)
google_compute_disk.slave.1: Still creating... (10s elapsed)
google_compute_firewall.slave: Still creating... (20s elapsed)
google_compute_disk.slave.0: Still creating... (20s elapsed)
google_compute_disk.slave.2: Still creating... (20s elapsed)
google_compute_disk.slave.1: Still creating... (20s elapsed)
google_compute_disk.slave.0: Creation complete
google_compute_disk.slave.1: Creation complete
google_compute_disk.slave.2: Creation complete
google_compute_instance.slave.1: Creating...
can_ip_forward: "" => "false"
disk.#: "" => "2"
disk.0.auto_delete: "" => "true"
disk.0.image: "" => "ubuntu-os-cloud/ubuntu-1604-xenial-v20160429"
disk.1.auto_delete: "" => "false"
disk.1.device_name: "" => "data"
disk.1.disk: "" => "slave-1"
machine_type: "" => "n1-highmem-8"
metadata.#: "" => "1"
metadata.ssh-keys: "" => "root:ssh-rsa ..."
metadata_fingerprint: "" => "<computed>"
name: "" => "slave-1"
network_interface.#: "" => "1"
network_interface.0.access_config.#: "" => "1"
network_interface.0.access_config.0.assigned_nat_ip: "" => "<computed>"
network_interface.0.address: "" => "<computed>"
network_interface.0.name: "" => "<computed>"
network_interface.0.network: "" => "default"
self_link: "" => "<computed>"
service_account.#: "" => "1"
service_account.0.email: "" => "<computed>"
service_account.0.scopes.#: "" => "1"
service_account.0.scopes.2862113455: "" => "https://www.googleapis.com/auth/compute.readonly"
tags.#: "" => "1"
tags.67686153: "" => "slave"
tags_fingerprint: "" => "<computed>"
zone: "" => "us-east1-b"
google_compute_instance.slave.2: Creating...
can_ip_forward: "" => "false"
disk.#: "" => "2"
disk.0.auto_delete: "" => "true"
disk.0.image: "" => "ubuntu-os-cloud/ubuntu-1604-xenial-v20160429"
disk.1.auto_delete: "" => "false"
disk.1.device_name: "" => "data"
disk.1.disk: "" => "slave-2"
machine_type: "" => "n1-highmem-8"
metadata.#: "" => "1"
metadata.ssh-keys: "" => "root:ssh-rsa ..."
metadata_fingerprint: "" => "<computed>"
name: "" => "slave-2"
network_interface.#: "" => "1"
network_interface.0.access_config.#: "" => "1"
network_interface.0.access_config.0.assigned_nat_ip: "" => "<computed>"
network_interface.0.address: "" => "<computed>"
network_interface.0.name: "" => "<computed>"
network_interface.0.network: "" => "default"
self_link: "" => "<computed>"
service_account.#: "" => "1"
service_account.0.email: "" => "<computed>"
service_account.0.scopes.#: "" => "1"
service_account.0.scopes.2862113455: "" => "https://www.googleapis.com/auth/compute.readonly"
tags.#: "" => "1"
tags.67686153: "" => "slave"
tags_fingerprint: "" => "<computed>"
zone: "" => "us-east1-b"
google_compute_instance.slave.0: Creating...
can_ip_forward: "" => "false"
disk.#: "" => "2"
disk.0.auto_delete: "" => "true"
disk.0.image: "" => "ubuntu-os-cloud/ubuntu-1604-xenial-v20160429"
disk.1.auto_delete: "" => "false"
disk.1.device_name: "" => "data"
disk.1.disk: "" => "slave-0"
machine_type: "" => "n1-highmem-8"
metadata.#: "" => "1"
metadata.ssh-keys: "" => "root:ssh-rsa ..."
metadata_fingerprint: "" => "<computed>"
name: "" => "slave-0"
network_interface.#: "" => "1"
network_interface.0.access_config.#: "" => "1"
network_interface.0.access_config.0.assigned_nat_ip: "" => "<computed>"
network_interface.0.address: "" => "<computed>"
network_interface.0.name: "" => "<computed>"
network_interface.0.network: "" => "default"
self_link: "" => "<computed>"
service_account.#: "" => "1"
service_account.0.email: "" => "<computed>"
service_account.0.scopes.#: "" => "1"
service_account.0.scopes.2862113455: "" => "https://www.googleapis.com/auth/compute.readonly"
tags.#: "" => "1"
tags.67686153: "" => "slave"
tags_fingerprint: "" => "<computed>"
zone: "" => "us-east1-b"
google_compute_firewall.slave: Creation complete
Error applying plan:
3 error(s) occurred:
* google_compute_instance.slave.1: Error creating instance: googleapi: Error 409: The resource 'projects/my-project/zones/us-east1-b/disks/slave-1' already exists, alreadyExists
* google_compute_instance.slave.0: Error creating instance: googleapi: Error 409: The resource 'projects/my-project/zones/us-east1-b/disks/slave-0' already exists, alreadyExists
* google_compute_instance.slave.2: Error creating instance: googleapi: Error 409: The resource 'projects/my-project/zones/us-east1-b/disks/slave-2' already exists, alreadyExists
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment