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
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
All attempts to use the provider fail with Error: 422 Unprocessable Entity. I have tried several config combinations. I have tried with an existing project, and with a new project resource. The provider was working yesterday. I don't know what changed. I literally tried the same main.tf that worked yesterday, and now it fails with this error.
This error will likely be due to the cidr field. The 422 error means that the server can understand the request, it is in the correct format but cannot process the instruction. This can happen when the cidr value in the terraform config file is already in use/not available in Capella - a new cluster created on the tenant may use the CIDR block specified in the config file. The deletion of that cluster would result in the availability of that CIDR block again, which would explain why it was working one day and not the next.
I think we can improve the error message in this scenario, where the cidr value is causing the 422 error, to detail that cidr value is in use and suggest using a new value.
Thanks. I suspected this was the case. A better error message would be great, and also some additional documentation on the registry would be helpful. Outside of examples, there really isn't an explanation of what values are acceptable or not.
I'm getting this again and I have tried numerous CIDRs. There really needs to be more verbose details as to what causes this error as it makes it impossible to troubleshoot.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
All attempts to use the provider fail with Error: 422 Unprocessable Entity. I have tried several config combinations. I have tried with an existing project, and with a new project resource. The provider was working yesterday. I don't know what changed. I literally tried the same main.tf that worked yesterday, and now it fails with this error.
main.tf:
This is the one that worked yesterday, and it now fails with the same error:
Error:
The text was updated successfully, but these errors were encountered: