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 "+1" or "me too" comments, 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
Terraform (and AzureRM Provider) Version
Terraform v0.11.13
AzureRM: 1.26.0
Affected Resource(s)
azurerm_stream_analytics_job
Terraform Configuration Files
Sample code from the documentation is sufficient.
resource"azurerm_resource_group""example" {
name="example-resources"location="West Europe"
}
resource"azurerm_stream_analytics_job""example" {
name="example-job"resource_group_name="${azurerm_resource_group.example.name}"location="${azurerm_resource_group.example.location}"compatibility_level="1.1"data_locale="en-GB"events_late_arrival_max_delay_in_seconds=60events_out_of_order_max_delay_in_seconds=50events_out_of_order_policy="Adjust"output_error_policy="Drop"streaming_units=3transformation_query=<<QUERY SELECT * INTO [YourOutputAlias] FROM [YourInputAlias]QUERY
}
Expected Behavior
I was hoping that properties compatibility_level, data_locale, events_late_arrival_max_delay_in_seconds, events_out_of_order_max_delay_in_seconds, events_out_of_order_policy, output_error_policy, streaming_units and transformation_query wouldn't be required. When you have a look at the ARM definition or at the API specs none of those properties are required. That means that using Terraform forces you to have more strict constraints than ARM templates or the API directly.
In my case we have a different type of deployment when it comes to the transformation query. Our developers / data engineers keep the code for the transformation query in their own repo and deploy it from time to time. If this happens and the query got updated Terraform complains with a 404 Transformation not found error when doing terraform plan. So i only want to create the bare minimum of configuration that's really needed for the job. I think the properties mentioned above shouldn't be mandatory. This wouldn't even be a breaking change since all users of this resource had to set it anyway.
Actual Behavior
Properties mentioned above are required.
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 and limited conversation to collaborators
Oct 13, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.11.13
AzureRM: 1.26.0
Affected Resource(s)
azurerm_stream_analytics_job
Terraform Configuration Files
Sample code from the documentation is sufficient.
Expected Behavior
I was hoping that properties
compatibility_level
,data_locale
,events_late_arrival_max_delay_in_seconds
,events_out_of_order_max_delay_in_seconds
,events_out_of_order_policy
,output_error_policy
,streaming_units
andtransformation_query
wouldn't be required. When you have a look at the ARM definition or at the API specs none of those properties are required. That means that using Terraform forces you to have more strict constraints than ARM templates or the API directly.In my case we have a different type of deployment when it comes to the transformation query. Our developers / data engineers keep the code for the transformation query in their own repo and deploy it from time to time. If this happens and the query got updated Terraform complains with a
404 Transformation not found
error when doingterraform plan
. So i only want to create the bare minimum of configuration that's really needed for the job. I think the properties mentioned above shouldn't be mandatory. This wouldn't even be a breaking change since all users of this resource had to set it anyway.Actual Behavior
Properties mentioned above are required.
The text was updated successfully, but these errors were encountered: