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
When creating an event subscription with a storage queue as an endpoint within an event grid topic the resources are created as expected but an error is thrown and the event subscription in the state file becomes tainted and you can no longer run a plan or apply.
module.event-topics.azurerm_storage_account.default: Creating...
module.event-topics.azurerm_storage_account.default: Still creating... [10s elapsed]
module.event-topics.azurerm_storage_account.default: Still creating... [20s elapsed]
module.event-topics.azurerm_storage_account.default: Creation complete after 25s [id=/subscriptions/***/resourceGroups/tf-testing/providers/Microsoft.Storage/storageAccounts/defaultstoragefoo]
module.event-topics.azurerm_storage_queue.default: Creating...
module.event-topics.azurerm_storage_queue.default: Creation complete after 1s [id=https://defaultstoragefoo.queue.core.windows.net/defaultstoragequeue]
module.event-topics.azurerm_eventgrid_event_subscription.default: Creating...
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [10s elapsed]
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [20s elapsed]
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [30s elapsed]
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [40s elapsed]
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [50s elapsed]
module.event-topics.azurerm_eventgrid_event_subscription.default: Still creating... [1m0s elapsed]
Error: ID contained more segments than required: "/subscriptions/***/resourceGroups/tf-testing/providers/Microsoft.EventGrid/topics/default-topic/providers/Microsoft.EventGrid/eventSubscriptions/defaultEventSubscription"
on ../../modules/project/event-topics/main.tf line 159, in resource "azurerm_eventgrid_event_subscription" "default":
159: resource "azurerm_eventgrid_event_subscription" "default" {
Expected Behavior
resources are created with no errors and the state is not tainted and a subsequent plan can be run.
Actual Behavior
When creating an event subscription with a storage queue as an endpoint within an event grid topic the resources are created as expected but an error is thrown and the event subscription in the state file becomes tainted and you can no longer run a plan or apply.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Jun 18, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating an event subscription with a storage queue as an endpoint within an event grid topic the resources are created as expected but an error is thrown and the event subscription in the state file becomes tainted and you can no longer run a plan or apply.
Terraform Version
Terraform Code
Terraform Output
Expected Behavior
resources are created with no errors and the state is not tainted and a subsequent plan can be run.
Actual Behavior
When creating an event subscription with a storage queue as an endpoint within an event grid topic the resources are created as expected but an error is thrown and the event subscription in the state file becomes tainted and you can no longer run a plan or apply.
Steps to Reproduce
terraform init
terraform apply
ADDITIONAL INFO (TAINTED STATE)
The text was updated successfully, but these errors were encountered: