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
Terraform will perform the following actions:
~ azurerm_eventhub.default
partition_count: "4" => "12"
Error: Error applying plan:
1 error(s) occurred:
* azurerm_eventhub.default: eventhub.EventHubsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="SubCode=40000. PartitionCount cannot be changed for EventHub. TrackingId:a5cfc1c8-ebe6-402c-bf4c-86e0475cbc7b_M0SN1_M0SN1_G12, SystemTracker:acceptanceTestEventHubNamespace.servicebus.windows.acceptanceTestEventHub, Timestamp:10/9/2018 11:26:03 AM CorrelationId: 6a34bd16-96a0-44c0-b981-59e3cf83b5bf"
Expected Behavior
According to the documentation/FAQ it is not possible to change the partition count of existing event hub. Terraform should re-create the Event Hub in order to change the partition count.
Actual Behavior
Terraform exited with an error.
Steps to Reproduce
terraform init
terraform apply
Modify partition count in event hub resource difinition
terraform apply
Additional Context
References
The text was updated successfully, but these errors were encountered:
Just to add some notes/context here as I've tagged this "good first issue" - given it's not possible to change this value we should be able to make the partition_count fieldForceNew: true (which means that when the value of partition_count changes it'll require that Terraform destroys & creates a new Event Hub).
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!
ghost
locked and limited conversation to collaborators
Mar 5, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue was originally opened by @KenticoMartinS as hashicorp/terraform#19029. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
According to the documentation/FAQ it is not possible to change the partition count of existing event hub. Terraform should re-create the Event Hub in order to change the partition count.
Actual Behavior
Terraform exited with an error.
Steps to Reproduce
terraform init
terraform apply
terraform apply
Additional Context
References
The text was updated successfully, but these errors were encountered: