Skip to content

Instantly share code, notes, and snippets.

@amingilani
Created October 8, 2018 18:28
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 amingilani/d8481a323a19cf051d826b2514c04299 to your computer and use it in GitHub Desktop.
Save amingilani/d8481a323a19cf051d826b2514c04299 to your computer and use it in GitHub Desktop.
Filing a bug report for terraform-providers/terraform-provider-google
$ terraform apply
google_container_cluster.primary: Refreshing state... (ID: worklark-cluster)
google_compute_firewall.default: Refreshing state... (ID: http-https)
google_container_node_pool.primary_pool: Refreshing state... (ID: us-central1-a/worklark-cluster/worklark-node-pool)
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_container_cluster.primary
id: <computed>
additional_zones.#: <computed>
addons_config.#: "1"
addons_config.0.horizontal_pod_autoscaling.#: <computed>
addons_config.0.http_load_balancing.#: "1"
addons_config.0.http_load_balancing.0.disabled: "false"
addons_config.0.kubernetes_dashboard.#: "1"
addons_config.0.kubernetes_dashboard.0.disabled: "false"
addons_config.0.network_policy_config.#: <computed>
cluster_ipv4_cidr: <computed>
enable_binary_authorization: "false"
enable_kubernetes_alpha: "false"
enable_legacy_abac: "false"
endpoint: <computed>
instance_group_urls.#: <computed>
logging_service: "none"
master_auth.#: <computed>
master_version: <computed>
monitoring_service: "none"
name: "worklark-cluster"
network: "default"
network_policy.#: <computed>
node_config.#: <computed>
node_pool.#: "1"
node_pool.0.initial_node_count: <computed>
node_pool.0.instance_group_urls.#: <computed>
node_pool.0.management.#: <computed>
node_pool.0.name: "imploding-pool"
node_pool.0.name_prefix: <computed>
node_pool.0.node_config.#: <computed>
node_pool.0.node_count: <computed>
node_pool.0.version: <computed>
node_version: <computed>
private_cluster: "false"
project: <computed>
region: <computed>
remove_default_node_pool: "true"
zone: <computed>
+ google_container_node_pool.primary_pool
id: <computed>
cluster: "worklark-cluster"
initial_node_count: <computed>
instance_group_urls.#: <computed>
management.#: "1"
management.0.auto_repair: "true"
management.0.auto_upgrade: "true"
name: "worklark-node-pool"
name_prefix: <computed>
node_config.#: "1"
node_config.0.disk_size_gb: "10"
node_config.0.disk_type: <computed>
node_config.0.guest_accelerator.#: <computed>
node_config.0.image_type: <computed>
node_config.0.local_ssd_count: <computed>
node_config.0.machine_type: "f1-micro"
node_config.0.oauth_scopes.#: <computed>
node_config.0.preemptible: "true"
node_config.0.service_account: <computed>
node_count: "3"
project: <computed>
version: <computed>
zone: <computed>
Plan: 2 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
google_container_cluster.primary: Creating...
additional_zones.#: "" => "<computed>"
addons_config.#: "" => "1"
addons_config.0.horizontal_pod_autoscaling.#: "" => "<computed>"
addons_config.0.http_load_balancing.#: "" => "1"
addons_config.0.http_load_balancing.0.disabled: "" => "false"
addons_config.0.kubernetes_dashboard.#: "" => "1"
addons_config.0.kubernetes_dashboard.0.disabled: "" => "false"
addons_config.0.network_policy_config.#: "" => "<computed>"
cluster_ipv4_cidr: "" => "<computed>"
enable_binary_authorization: "" => "false"
enable_kubernetes_alpha: "" => "false"
enable_legacy_abac: "" => "false"
endpoint: "" => "<computed>"
instance_group_urls.#: "" => "<computed>"
logging_service: "" => "none"
master_auth.#: "" => "<computed>"
master_version: "" => "<computed>"
monitoring_service: "" => "none"
name: "" => "worklark-cluster"
network: "" => "default"
network_policy.#: "" => "<computed>"
node_config.#: "" => "<computed>"
node_pool.#: "" => "1"
node_pool.0.initial_node_count: "" => "<computed>"
node_pool.0.instance_group_urls.#: "" => "<computed>"
node_pool.0.management.#: "" => "<computed>"
node_pool.0.name: "" => "imploding-pool"
node_pool.0.name_prefix: "" => "<computed>"
node_pool.0.node_config.#: "" => "<computed>"
node_pool.0.node_count: "" => "<computed>"
node_pool.0.version: "" => "<computed>"
node_version: "" => "<computed>"
private_cluster: "" => "false"
project: "" => "<computed>"
region: "" => "<computed>"
remove_default_node_pool: "" => "true"
zone: "" => "<computed>"
google_container_cluster.primary: Still creating... (10s elapsed)
google_container_cluster.primary: Still creating... (20s elapsed)
google_container_cluster.primary: Still creating... (30s elapsed)
google_container_cluster.primary: Still creating... (40s elapsed)
google_container_cluster.primary: Still creating... (50s elapsed)
google_container_cluster.primary: Still creating... (1m0s elapsed)
google_container_cluster.primary: Still creating... (1m10s elapsed)
google_container_cluster.primary: Still creating... (1m20s elapsed)
Error: Error applying plan:
1 error(s) occurred:
* google_container_cluster.primary: 1 error(s) occurred:
* google_container_cluster.primary: Error deleting default node pool: googleapi: Error 404: Not found: projects/worklark-218609/zones/us-central1-a/clusters/worklark-cluster/nodePools/default-pool., notFound
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