-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Kubernetes Clusters: load_balancer_sku breaks cluster definition from 1.31 --> 1.32 #3952
Comments
👍 |
Additional info: "sku": {
"name": "Basic",
"tier": "Regional"
}, |
Hey @brondum. It looks like some assumptions were made with the sdk not taking casing other than lower-case. We've suppressed casing entirely and you should be able to pass upper or lower casing to the api in the next release. |
@mbfrahry Thank you for investigating, and looking forward to the fix :) |
This has been released in version 1.32.1 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.32.1"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.3
AzureRM: 1.32
Affected Resource(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
Expected Behavior
Updated azurerm version to 1.32.
Expected just to update/modify the cluster to desired.
Actual Behavior
Terraform wants to recreate the resource:
load_balancer_sku = "Basic" -> "basic" # forces replacement
This breaks our Terraform states. the problem is that we cant get around it, we can keep using 1.31 but not a valid option for long. We cant specify the load_balancer_sku to use a capital "B" in "basic", then it complains.
Any insights ?
Steps to Reproduce
terraform apply
orterraform plan
References
load_balancer_sku
property #3890The text was updated successfully, but these errors were encountered: