-
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 Maps sku_name is lowercase, but Azure reports as uppercase #4700
Comments
We could change the validation function like so, to avoid breaking existing code. "sku_name": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
"s0",
"S0",
"s1",
"S1"
}, false),
}, |
This is a duplicate of #4706 which has more Terraform details |
closing in favour of #4706 |
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
Unknown (I'm using Pulumi)
Affected Resource(s)
azurerm_resource_arm_maps_account
Terraform Configuration Files
none
Debug Output
Azure Resource Explorer reports sku name with a capital 'S'
Expected Behavior
Case of sku name from Azure RM should match case when validating
sku_name
Actual Behavior
Terraform validation function requires lower-case 's0' and 's1' but ARM reports sku name as upper-case 'S0' and 'S1'
Steps to Reproduce
sku_name
property to match the uppercase 'S0' or 'S1' as reported by ARMhttps://github.com/terraform-providers/terraform-provider-azurerm/blob/master/azurerm/resource_arm_maps_account.go#L51
The text was updated successfully, but these errors were encountered: