I’ve recently upgraded my terraform setup to the newest version; 0.14.5, whilst doing this I also wanted to increase my maxNodeSetup; by increasing my current cluster size by 1. Unfortunately, I get the following error:
Terraform command 'apply' failed with exit code '1'.: Unable to update node pool: PUT
I use a CI to automatically update my infrastructure; any other changes go through perfectly fine but this update one does not.
My kubernetes plan step is the following:
# digitalocean_kubernetes_cluster.kubernetes_cluster will be updated in-
place
~ resource "digitalocean_kubernetes_cluster" "kubernetes_cluster" {
id = "fe2e1094-6501-4d61-8617-490093aca3ce"
name = "olccluster"
tags = []
# (13 unchanged attributes hidden)
~ node_pool {
id = "e70cda94-3ffb-461e-ae85-25ea3d298b14"
~ max_nodes = 1 -> 2
name = "main"
tags = []
# (7 unchanged attributes hidden)
}
}`
The exact error is:
digitalocean_kubernetes_cluster.kubernetes_cluster: Modifying... [id=fe2e1094-6501-4d61-8617-490093aca3ce]
Error: Unable to update nodepool: PUT https://api.digitalocean.com/v2/kubernetes/clusters/fe2e1094-6501-4d61-8617-490093aca3ce/node_pools/e70cda94-3ffb-461e-ae85-25ea3d298b14: 422 validation error: user state.user state would prevent resource creation: !is_verified and is_hold
Note that I changed my GUIDS to random ones for this question.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The error message state would prevent resource creation !is_verified and is_hold implies that you are either trying to use resources that are reserved for verified customer accounts, or that there is a hold on your account. For any account related inquiries I would recommend you reach out to our support team! They should be able to help get your situation cleared up! https://www.digitalocean.com/support/
Regards,
John Kwiatkoski Senior Developer Support Engineer - Kubernetes
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.