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.46k stars 4.53k forks source link

Support for Azure File Storage Location Block in Data Factory Delimited Text Dataset #11448

Open Robinson308 opened 3 years ago

Robinson308 commented 3 years ago

Community Note

Description

Trying to create a Delimited Text Dataset against a File Storage Linked Service. There are currently 2 options available for the location block, i.e.:

  http_server_location {
    relative_url = "http://www.bing.com"
    path         = "foo/bar/"
    filename     = "fizz.txt"
  }
  azure_blob_storage_location {
    container = var.service_settings.container
    path         = var.service_settings.path
    filename     = var.service_settings.filename
  }

I can't see how to use either of these to reference a file within a file share? Can we have a third "azure_file_storage_location" location block option for this?

New or Affected Resource(s)

azurerm_data_factory_dataset_delimited_text

Potential Terraform Configuration

resource "azurerm_data_factory_dataset_delimited_text" "sample" {
  name                = "sampleimport01"
  resource_group_name = azurerm_resource_group.examplerg.name
  data_factory_name   = azurerm_data_factory.exampledf.name
  linked_service_name = azurerm_data_factory_linked_service_azure_file_storage.AzureFileStorage.name

  azure_file_storage_location {
    path         = "/"
    filename     = "foo.csv"
  }

References

NguyenTungSon0503 commented 2 months ago

It's already April 2024 and this issue has still not been resolved. Please add this feature, thank you.