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

Support for Azure Data Factory Linked Service of type AzureMySql #15189

Open j-chao opened 2 years ago

j-chao commented 2 years ago

Community Note

Description

Support request for a Data Factory Linked Service resource of type AzureMySql, which is different from the currently available generic type MySql.

Per the support matrix here, only AzureMySql is supported as a data sink for copy activities.

New or Affected Resource(s)

Potential Terraform Configuration

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_data_factory" "example" {
  name                = "example"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_data_factory_linked_service_azure_mysql" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  data_factory_id     = azurerm_data_factory.example.id
  connection_string   = "Server=test;Port=3306;Database=test;User=test;SSLMode=1;UseSystemTrustStore=0;Password=test"
}

References

johnrod11 commented 1 month ago

+1 (Any updates on this?)