Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created November 15, 2018 12:29
Show Gist options
  • Save marcusramberg/ea76400fc549a69b318c8d91e9220ee1 to your computer and use it in GitHub Desktop.
Save marcusramberg/ea76400fc549a69b318c8d91e9220ee1 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_disk.solr-backup: Refreshing state... (ID: solr-backup)
google_compute_http_health_check.default: Refreshing state... (ID: group-http-lb-backend-0)
google_compute_address.prod-win-addr[1]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-addr-2)
google_compute_address.prod-cron-addr: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-cron-addr-1)
google_compute_disk.wp-storage: Refreshing state... (ID: wp-storage)
google_compute_address.prod-win-addr[0]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-addr-1)
google_compute_address.prod-solr-addr[2]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-solr-addr-3)
google_compute_address.prod-solr-addr[1]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-solr-addr-2)
google_compute_address.prod-solr-addr[0]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-solr-addr-1)
google_compute_address.prod-wp-addr: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-wp-addr-1)
google_compute_address.prod-win-sql-addr[1]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-sql02-addr)
google_compute_address.prod-win-sql-addr[0]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-sql01-addr)
google_compute_health_check.solr-health-check: Refreshing state... (ID: solr-health-check)
google_compute_global_address.default: Refreshing state... (ID: group-http-lb-address)
google_compute_disk.solr-data[0]: Refreshing state... (ID: solr-data-1)
google_compute_disk.solr-data[1]: Refreshing state... (ID: solr-data-2)
google_compute_disk.solr-data[2]: Refreshing state... (ID: solr-data-3)
google_compute_address.prod-win-ad-addr: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-ad-addr-1)
google_dns_managed_zone.r12-g: Refreshing state... (ID: r12-g)
google_compute_disk.prod-win-sql-data[1]: Refreshing state... (ID: prod-win-sql02-data)
google_compute_disk.prod-win-sql-data[0]: Refreshing state... (ID: prod-win-sql01-data)
google_compute_address.prod-web-addr[1]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-web-addr-2)
google_compute_address.prod-web-addr[0]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-web-addr-1)
google_compute_network.production: Refreshing state... (ID: production-network)
google_compute_firewall.default-hc: Refreshing state... (ID: group-http-lb-hc-0)
google_dns_record_set.win[0]: Refreshing state... (ID: 76)
google_dns_record_set.win[1]: Refreshing state... (ID: 75)
google_dns_record_set.cron: Refreshing state... (ID: 37)
google_dns_record_set.solr[2]: Refreshing state... (ID: 36)
google_dns_record_set.solr[1]: Refreshing state... (ID: 38)
google_dns_record_set.wp: Refreshing state... (ID: 57)
google_dns_record_set.solr-alternate[1]: Refreshing state... (ID: 51)
google_dns_record_set.solr[0]: Refreshing state... (ID: 40)
google_dns_record_set.solr-alternate[2]: Refreshing state... (ID: 54)
google_dns_record_set.solr-alternate[0]: Refreshing state... (ID: 52)
google_dns_record_set.win-ad: Refreshing state... (ID: r12-g/prod-win-ad-01.g.r12.no./A)
google_dns_record_set.prod-lb-star: Refreshing state... (ID: 48)
google_dns_record_set.prod-lb: Refreshing state... (ID: 49)
google_compute_subnetwork.production-eu: Refreshing state... (ID: europe-west1/production-eu-subnet)
google_compute_firewall.allow-httpish-wp: Refreshing state... (ID: allow-httpish-wp)
google_compute_firewall.allow-rdp-for-customer-service: Refreshing state... (ID: allow-rdp-for-customer-service)
google_compute_firewall.allow-all-internal: Refreshing state... (ID: allow-all-10-50-0-0)
google_compute_firewall.allow-ssh: Refreshing state... (ID: allow-ssh)
google_compute_firewall.allow-http-health: Refreshing state... (ID: allow-http-health-checks)
google_compute_firewall.allow-icmp: Refreshing state... (ID: allow-icmp)
google_sql_database_instance.prod: Refreshing state... (ID: prod-instance)
google_sql_database_instance.prod-failover: Refreshing state... (ID: prod-instance-failover)
google_dns_record_set.web[1]: Refreshing state... (ID: 34)
google_dns_record_set.web[0]: Refreshing state... (ID: 39)
google_compute_instance.prod-win[1]: Refreshing state... (ID: prod-win-02)
google_compute_instance.prod-wp: Refreshing state... (ID: prod-wp01)
google_compute_instance.prod-win[0]: Refreshing state... (ID: prod-win-01)
google_compute_instance.prod-win-sql[0]: Refreshing state... (ID: prod-win-sql01)
google_compute_instance.prod-win-sql[1]: Refreshing state... (ID: prod-win-sql02)
google_compute_instance.prod-solr[0]: Refreshing state... (ID: prod-solr-01)
google_compute_instance.prod-solr[2]: Refreshing state... (ID: prod-solr-03)
google_compute_instance.prod-solr[1]: Refreshing state... (ID: prod-solr-02)
google_container_cluster.primary: Refreshing state... (ID: prime)
google_compute_address.vpn_static_ip: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/vpn-static-ip)
google_compute_instance.prod-win-ad: Refreshing state... (ID: prod-win-ad-01)
google_compute_vpn_gateway.prod_vpn_gateway: Refreshing state... (ID: prod-vpn)
google_compute_instance.prod-cron: Refreshing state... (ID: prod-cron01)
google_compute_instance.prod-web[0]: Refreshing state... (ID: prod-web01)
google_compute_instance.prod-web[1]: Refreshing state... (ID: prod-web02)
google_sql_database.rgcms_travel: Refreshing state... (ID: prod-instance:rgcms_travel)
google_sql_database.rg: Refreshing state... (ID: prod-instance:rg)
google_dns_record_set.prod-sql: Refreshing state... (ID: 41)
google_dns_record_set.wp-internal: Refreshing state... (ID: 79)
google_compute_instance_group.prod-win: Refreshing state... (ID: europe-west1-d/prod-win)
google_dns_record_set.win-internal[0]: Refreshing state... (ID: r12-g/prod-win-01-int.g.r12.no./A)
google_dns_record_set.win-internal[1]: Refreshing state... (ID: r12-g/prod-win-02-int.g.r12.no./A)
google_compute_instance_group.prod-win-sql: Refreshing state... (ID: europe-west1-d/prod-win-sql)
google_dns_record_set.prod-win-sql[1]: Refreshing state... (ID: r12-g/prod-win-sql02.g.r12.no./A)
google_dns_record_set.prod-win-sql[0]: Refreshing state... (ID: r12-g/prod-win-sql01.g.r12.no./A)
google_compute_instance_group.prod-solr-group: Refreshing state... (ID: europe-west1-d/prod-solr-group)
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: 93)
google_dns_record_set.solr-internal[0]: Refreshing state... (ID: 95)
google_dns_record_set.solr-internal[2]: Refreshing state... (ID: 92)
google_compute_forwarding_rule.fr_udp500: Refreshing state... (ID: fr-udp500)
google_compute_forwarding_rule.fr_esp: Refreshing state... (ID: fr-esp)
google_compute_forwarding_rule.fr_udp4500: Refreshing state... (ID: fr-udp4500)
google_dns_record_set.cron-internal: Refreshing state... (ID: 80)
google_compute_instance_group.prod-cron: Refreshing state... (ID: europe-west1-d/prod-cron)
google_compute_instance_group.prod-web: Refreshing state... (ID: europe-west1-d/prod-web)
google_compute_instance_group.prod-win-ad: Refreshing state... (ID: europe-west1-d/prod-win-ad)
google_dns_record_set.web-internal[0]: Refreshing state... (ID: 91)
google_dns_record_set.web-internal[1]: Refreshing state... (ID: 96)
google_compute_region_backend_service.solr-int-lb: Refreshing state... (ID: solr-int-lb)
google_compute_vpn_tunnel.digiplex-tunnel: Refreshing state... (ID: digiplex-tunnel)
google_compute_forwarding_rule.solr-int-lb-forwarding-rule: Refreshing state... (ID: solr-int-lb-forwarding-rule)
google_compute_backend_service.default: Refreshing state... (ID: group-http-lb-backend-0)
google_dns_record_set.prod-solr: Refreshing state... (ID: 44)
google_compute_url_map.default: Refreshing state... (ID: group-http-lb-url-map)
google_compute_target_http_proxy.default: Refreshing state... (ID: group-http-lb-http-proxy)
google_compute_global_forwarding_rule.http: Refreshing state... (ID: group-http-lb)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ google_compute_address.prod-legacy-addr
id: <computed>
address: <computed>
address_type: "EXTERNAL"
name: "prod-legacy-addr-1"
project: <computed>
region: <computed>
self_link: <computed>
+ google_compute_disk.travel
id: <computed>
disk_encryption_key_sha256: <computed>
label_fingerprint: <computed>
name: "travel"
project: <computed>
self_link: <computed>
size: "500"
type: "pd-ssd"
users.#: <computed>
zone: "europe-west1-d"
+ google_compute_instance.legacy
id: <computed>
attached_disk.#: "1"
attached_disk.0.device_name: <computed>
attached_disk.0.disk_encryption_key_sha256: <computed>
attached_disk.0.mode: "READ_WRITE"
attached_disk.0.source: "travel"
boot_disk.#: "1"
boot_disk.0.auto_delete: "true"
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: "200"
boot_disk.0.initialize_params.0.type: "pd-ssd"
can_ip_forward: "false"
cpu_platform: <computed>
create_timeout: "4"
deletion_protection: "true"
description: "Instance for prod importers"
guest_accelerator.#: <computed>
instance_id: <computed>
label_fingerprint: <computed>
machine_type: "n1-standard-64"
metadata_fingerprint: <computed>
name: "legacy01"
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: "35.205.225.12"
network_interface.0.address: <computed>
network_interface.0.name: <computed>
network_interface.0.network_ip: <computed>
network_interface.0.subnetwork: "production-eu-subnet"
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"
self_link: <computed>
tags.#: "2"
tags.3555570144: "production"
tags.399311096: "cron"
tags_fingerprint: <computed>
zone: "europe-west1-d"
+ google_compute_instance_group.legacy
id: <computed>
instances.#: <computed>
name: "legacy"
network: <computed>
project: <computed>
self_link: <computed>
size: <computed>
zone: "europe-west1-d"
Plan: 4 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
Releasing state lock. This may take a few moments...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment