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
The above configuration has an issue. The cors block on the azurerm_signalr_service should not have no an allowed_origins list with zero args. It should either be a "*" indicating all urls, or a nonempty list of URLs. However, when an nonempty list is provided, there should be no crash.
Actual Behaviour
The cors block with an allowed_origins list with zero args created a crash and an rpc error with no indication of the location of the config error.
Steps to Reproduce
Creating the same service (azurerm_signalr_service) with:
cors {
allowed_origins=[]
}
The text was updated successfully, but these errors were encountered:
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!
ghost
locked as resolved and limited conversation to collaborators
Jan 3, 2021
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.13.5
Affected Resource(s)
azurerm_signalr_service
Terraform Configuration Files
Debug Output
debug log gist
Panic Output
crash log gist
Expected Behaviour
The above configuration has an issue. The
cors
block on theazurerm_signalr_service
should not have no anallowed_origins
list with zero args. It should either be a "*" indicating all urls, or a nonempty list of URLs. However, when an nonempty list is provided, there should be no crash.Actual Behaviour
The
cors
block with anallowed_origins
list with zero args created a crash and an rpc error with no indication of the location of the config error.Steps to Reproduce
Creating the same service (azurerm_signalr_service) with:
The text was updated successfully, but these errors were encountered: