Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for azurerm_data_factory_dataset_sftp #10011

Open
jmyers82 opened this issue Dec 28, 2020 · 1 comment
Open

Support for azurerm_data_factory_dataset_sftp #10011

jmyers82 opened this issue Dec 28, 2020 · 1 comment

Comments

@jmyers82
Copy link

Community Note

  • 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

Description

Create a new terraform resource for azurerm_data_factory_dataset_sftp that allows for the creation of a dataset using the sftp linked service.

New or Affected Resource(s)

azurerm_data_factory_dataset_sftp

Potential Terraform Configuration

resource "azurerm_data_factory_dataset_sftp" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  data_factory_name   = azurerm_data_factory.example.name
  linked_service_name = azurerm_data_factory_linked_service_sftp.example.name
  type = "binary"
  directory = "\somepath\"
  file = "sample.jpeg"

}

The resource would need to allow for the following data types:

image

References

This would align with the existing linked_service_sftp: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data_factory_linked_service_sftp

  • #0000
@aristosvo
Copy link
Collaborator

This is more complicated than it seems at first sight. The dataset resource is defined by the data format, so you can have a azurerm_data_factory_dataset_binary or a azurerm_data_factory_dataset_delimited_text resource for data in a SFTP server.

To realize the functionality as specified by @jmyers82 we'd adjust multiple Azure Terraform Dataset resources. For my use-case the binary dataset is enough and the easiest start.

@jmyers82 Can you specify what format of data you'd like to extract/put into a SFTP server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants