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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to add an azure sql database as an ADF dataset #12586

Open
philthynz opened this issue Jul 14, 2021 · 2 comments
Open

Support to add an azure sql database as an ADF dataset #12586

philthynz opened this issue Jul 14, 2021 · 2 comments

Comments

@philthynz
Copy link
Contributor

philthynz commented Jul 14, 2021

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

There is no way to create an Azure ADF dataset for an Azure SQL / MSSQL database:

image

New or Affected Resource(s)

  • azurerm_data_factory_dataset_azure_sql_database

Potential Terraform Configuration

resource "azurerm_data_factory_dataset_azure_sql_database" "example" {
  name                = "my_azure_sql_database"
  resource_group_name = "my_resource_group"
  data_factory_name   = "data_factory_name"
  linked_service_name = "linked_service_database_name"
}

Currently the workaround is to link the ADF to git, change all the json files and then re-upload. Or use ARM templates to deploy the datasets.

@philthynz philthynz changed the title Support for [thing] Support to add an azure sql database as an ADF dataset Jul 14, 2021
@aristosvo
Copy link
Collaborator

Hi @philthynz!

You can probably use azurerm_data_factory_custom_dataset introduced in version 2.68.0 by #12484. This is a generic resource for all your datasets. It may be a bit more advanced to configure, but it's more flexible and should give you the necessary functionality.

@philthynz
Copy link
Contributor Author

Thanks @aristosvo, yes I guess that will work. I didn't see it until now. Thanks!

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

No branches or pull requests

3 participants