You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[beta-private-cluster-update-variant] provider │ "registry.terraform.io/hashicorp/google-beta" produced an invalid new value │ for .node_pool_defaults: block count changed from 0 to 1
#1401
Open
zinizhu opened this issue
Sep 14, 2022
· 2 comments
When running atlantis apply, the plan shows an update in the cluster:
# module.platform_eng_environments.module.plato_ziniz_instance.module.gke.google_container_cluster.primary will be updated in-place
~ resource "google_container_cluster" "primary" {
id = "projects/plato-ziniz-103365/locations/us-central1/clusters/ziniz-plato"
name = "ziniz-plato"
# (27 unchanged attributes hidden)
- node_pool_defaults {
}
# (24 unchanged blocks hidden)
}
And the atlantis apply failed with:
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for
│ module.platform_eng_environments.module.plato_ziniz_instance.module.gke.google_container_cluster.primary
│ to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/google-beta" produced an invalid new value
│ for .node_pool_defaults: block count changed from 0 to 1.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
TL;DR
When running
atlantis apply
, the plan shows an update in the cluster:And the
atlantis apply
failed with:Expected behavior
The apply should succeed.
Observed behavior
The apply failed with the above error
Terraform Configuration
The text was updated successfully, but these errors were encountered: