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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
apply: info: applying Terragrunt configuration in eastus/common/eventhub/namespace
16:17:56.702 INFO The stack at . will be processed in the following order forcommand apply:
Group 1
- Module .
16:18:09.494 STDOUT terraform: azurerm_eventhub_namespace.eventhub_namespace["inssre"]: Creating...
16:18:10.019 STDERR terraform: Error: creating Namespace (Subscription: "***"
16:18:10.019 STDERR terraform: Resource Group Name: "app-icstools-dev-eastus"
16:18:10.019 STDERR terraform: Namespace Name: "inssre"): performing CreateOrUpdate: unexpected status 403 (403 Forbidden) with error: RequestDisallowedByPolicy: Resource 'inssre' was disallowed by policy. Reasons: 'This policy enforced due to zoneRedundant set to false'. See error details for policy resource IDs.
16:18:10.020 STDERR terraform: with azurerm_eventhub_namespace.eventhub_namespace["inssre"],
16:18:10.020 STDERR terraform: on eventhub-namespace.tf line 1, in resource "azurerm_eventhub_namespace""eventhub_namespace":
16:18:10.020 STDERR terraform: 1: resource "azurerm_eventhub_namespace""eventhub_namespace" {
16:18:10.419 STDOUT terraform: Releasing state lock. This may take a few moments...
16:18:10.516 ERROR terraform invocation failed in ./.terragrunt-cache/qELcAzh6JcALVKMoP7UH7qvHNGY/6F5tq3CYp0nUEeebCgi8Z-9HWiE
16:18:10.516 ERROR Module . has finished with an error
16:18:10.516 ERROR error occurred:
* Failed to execute "terraform apply -auto-approve -input=false -auto-approve -input=false -lock=true -no-color ../../../../artifacte/terragrunt.tfplan"in ./.terragrunt-cache/qELcAzh6JcALVKMoP7UH7qvHNGY/6F5tq3CYp0nUEeebCgi8Z-9HWiE
Error: creating Namespace (Subscription: "***"
Resource Group Name: "app-icstools-dev-eastus"
Namespace Name: "inssre"): performing CreateOrUpdate: unexpected status 403 (403 Forbidden) with error: RequestDisallowedByPolicy: Resource 'inssre' was disallowed by policy. Reasons: 'This policy enforced due to zoneRedundant set to false'. See error details for policy resource IDs.
with azurerm_eventhub_namespace.eventhub_namespace["inssre"],
on eventhub-namespace.tf line 1, in resource "azurerm_eventhub_namespace""eventhub_namespace":
1: resource "azurerm_eventhub_namespace""eventhub_namespace" {
exit status 1
Error: Process completed with exit code 1.
Expected Behaviour
The zoneRedundant should have be set to true as the eastus region supports AZ
Actual Behaviour
it sets the zoneRedundant to false and fails as we have a policy that does not permit this creation
Steps to Reproduce
run the terraform plan and apply for the block provided and check what the apply does. When we created the resource from UI if set the zoneRedundant to true when the resource was created.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Thank you for taking the time to open this issue. Please see issue #27239 and the comments, this appears to be an upstream issue that will be tackled by the service team. As such I am going to close this issue as a duplicate. Please track the linked issue for updates from the service team.
Is there an existing issue for this?
Community Note
Terraform Version
1.5.5
AzureRM Provider Version
4.7.0
Affected Resource(s)/Data Source(s)
azurerm_eventhub_namespace
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The zoneRedundant should have be set to true as the eastus region supports AZ
Actual Behaviour
it sets the zoneRedundant to false and fails as we have a policy that does not permit this creation
Steps to Reproduce
run the terraform plan and apply for the block provided and check what the apply does. When we created the resource from UI if set the zoneRedundant to true when the resource was created.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: