-
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
azurerm_storage_account doesn't properly support empty allowed_headers
or exposed_headers
#10936
Comments
allowed_headers
or exposed_headers
allowed_headers
or exposed_headers
allowed_headers
or exposed_headers
allowed_headers
or exposed_headers
Hello! I submitted a PR for this. I removed validation for empty string but set |
This looks like it was fixed in an earlier release (2.59.0) by #11692, as such I'm going to close this issue. If this is not the case, we can re-open. |
This functionality has been released in v2.67.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Terraform (and AzureRM Provider) Version
(essentim-development:brew)root@19dc195c749c:/app# terraform -v
Terraform v0.14.8
Affected Resource(s)
azurerm_storage_account
Terraform Configuration Files
Expected Behaviour
rerunning plan after successful apply should not yield any changes.
Actual Behaviour
Steps to Reproduce
terraform apply
terraform plan
Notes
It seems that the azure API turns an empty array into an array with a single empty string in it. So I guess supplying an empty array should be invalid and providing an array with one empty string in it should be valid instead.
I already testet with the Azure API directly. Posting
[]
and[""]
are both valid, but always resutls in[""]
on readout. Supplying two empty strings is invalid (["",""]) on their api.Currently there seems to be no way not to provide any header for
allowed_headers
orexposed_headers
.Same probably also impacts queue_properties.
The text was updated successfully, but these errors were encountered: