hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.54k stars 4.61k forks source link

Azure Data Lake Store output for Stream Analytics #3818

Open gmjohns opened 5 years ago

gmjohns commented 5 years ago

Community Note

Description

Request to add an "azurerm_stream_analytics_output_adls" resource to support Azure Data Lake Storage Gen 1 (Azure Data Lake Store) as a terraform managed output source for Azure Stream Analytics.

New or Affected Resource(s)

Potential Terraform Configuration

resource "azurerm_stream_analytics_output_adls" "adls" {
  name = "adls-output"
  stream_analytics_job_name = "${data.azurerm_stream_analytics_job.example.name}"
  resource_group_name       = "${data.azurerm_stream_analytics_job.example.resource_group_name}"
  account_name              = "data-lake-account-name"
  file_path_prefix          = "some-pattern"
  date_format               = "yyyy-MM-dd"
  time_format               = "HH"
  authentication_mode       = "Msi"

  serialization {
    type            = "Json"
    encoding        = "UTF8"
    format          = "LineSeperated"
  }

References

jiaweitao001 commented 2 years ago

Hi, since data lake has been upgraded to gen2, the features of data lake gen2 can be leveraged by upgrading storage blob, it's not needed anymore.