-
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
Cannot set maximum_throughput_units when auto_inflate_enabled is false #2083
Comments
Hi @KenticoMartinS, Sorry to hear your having this issue. Upon investigation it does seem 0 is a valid value for |
Hi @katbyte, |
Just to let you know that this has been released as a part of v1.18 of the AzureRM Provider (the full changelog is available here). You can upgrade to this by specifying the version in the provider block (as shown below) and then running
Thanks! |
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 👉 [email protected]. Thanks! |
Hi,
we are running Terraform with Azure provider module:
We have a general module containing Event Hub Namespace resource
From the module, we are trying to set auto_inflate_enabled and maximum_throughput_units parameters. The maximum_throughput_units parameter is dependent on auto_inflate_enabled parameters. It means, we can set maximum_throughput_units only when auto_inflate_enabled is enabled.
Is it possible to use one azurerm_eventhub_namespace resource for the following two scenarios?
We tried the following solutions:
Error: module.event_hub.azurerm_eventhub_namespace.default: expected maximum_throughput_units to be in the range (1 - 20), got 0
eventhub.NamespacesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Cannot set MaximumThroughputUnits property if AutoInflate is not enabled.
The text was updated successfully, but these errors were encountered: