Skip to content

Instantly share code, notes, and snippets.

@jkamenik
Created February 12, 2019 17:33
Show Gist options
  • Save jkamenik/4fdeff4cb4341358f172910a1cfff3fd to your computer and use it in GitHub Desktop.
Save jkamenik/4fdeff4cb4341358f172910a1cfff3fd to your computer and use it in GitHub Desktop.
Terraform Failure
Initializing modules...
- module.cluster
Initializing provider plugins...
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
* provider.google-beta: version = "~> 1.20"
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
data.google_container_engine_versions.region: Refreshing state...
google_container_cluster.main: Refreshing state... (ID: johnk)
google_container_node_pool.main_pool: Refreshing state... (ID: us-central1-a/johnk/johnk-main)
module.cluster.google_container_node_pool.main_pool: Destroying... (ID: us-central1-a/johnk/johnk-main)
module.cluster.google_container_cluster.main: Modifying... (ID: johnk)
min_master_version: "1.11.5-gke.5" => "1.11.6-gke.6"
node_version: "1.11.5-gke.5" => "1.11.6-gke.6"
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 10s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 20s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 20s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 30s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 30s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 40s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 40s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 50s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 50s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m0s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m0s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m10s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m10s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m20s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m20s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m30s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m30s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m40s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m40s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 1m50s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 1m50s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m0s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m0s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m10s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m10s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m20s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m20s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m30s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m30s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 2m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 2m59s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m9s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m29s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m29s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 3m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 3m59s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 4m59s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 4m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m9s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m29s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 5m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 5m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m9s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m9s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m29s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m29s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 6m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 6m59s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m39s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m49s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 7m59s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 7m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m9s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 8m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Still destroying... (ID: us-central1-a/johnk/johnk-main, 8m19s elapsed)
module.cluster.google_container_node_pool.main_pool: Destruction complete after 8m23s
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 8m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 9m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 10m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 11m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 12m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m29s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m39s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m49s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 13m59s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 14m9s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 14m19s elapsed)
module.cluster.google_container_cluster.main: Still modifying... (ID: johnk, 14m29s elapsed)
Error: Error applying plan:
1 error(s) occurred:
* module.cluster.google_container_cluster.main: 1 error(s) occurred:
* google_container_cluster.main: googleapi: Error 400: Node_pool_id must be specified., badRequest
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.
bash-4.4# terraform -v
Terraform v0.11.8
+ provider.google-beta v1.20.0
Your version of Terraform is out of date! The latest version
is 0.11.11. You can update by downloading from www.terraform.io/downloads.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment