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 validate
╷
61│ Error: expected scale_units to be in the range (1 - 10), got 0
62│
63│ with azurerm_media_streaming_endpoint.media_adaptive_streaming,
64│ on media-services.tf line 42, in resource "azurerm_media_streaming_endpoint" "media_adaptive_streaming":
65│ 42: scale_units = 0
66│
67╵
Expected Behaviour
Streaming Endpoint have 2 types: Standard and Premium. The validation should only for Premium type
Actual Behaviour
We should have type property, and only check scale_units for Premium type.
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.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v1.0.3
Affected Resource(s)
azurerm_media_streaming_endpoint
Terraform Configuration Files
Debug Output
Expected Behaviour
Streaming Endpoint have 2 types: Standard and Premium. The validation should only for Premium type
Actual Behaviour
We should have
type
property, and only check scale_units for Premium type.References
The text was updated successfully, but these errors were encountered: