» azurerm_data_factory_pipeline

Manages a Pipeline inside a Azure Data Factory.

» Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "northeurope"
}

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_pipeline" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  data_factory_name   = azurerm_data_factory.example.name
}

» Example Usage with Activities

resource "azurerm_data_factory_pipeline" "test" {
  name                = "acctest%d"
  resource_group_name = azurerm_resource_group.test.name
  data_factory_name   = azurerm_data_factory.test.name
  variables = {
    "bob" = "item1"
  }
  activities_json = <<JSON
[
    {
        "name": "Append variable1",
        "type": "AppendVariable",
        "dependsOn": [],
        "userProperties": [],
        "typeProperties": {
            "variableName": "bob",
            "value": "something"
        }
    }
]
  JSON
}

» Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Data Factory Pipeline. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.

  • resource_group_name - (Required) The name of the resource group in which to create the Data Factory Pipeline. Changing this forces a new resource

  • data_factory_name - (Required) The Data Factory name in which to associate the Pipeline with. Changing this forces a new resource.

  • description - (Optional) The description for the Data Factory Pipeline.

  • annotations - (Optional) List of tags that can be used for describing the Data Factory Pipeline.

  • parameters - (Optional) A map of parameters to associate with the Data Factory Pipeline.

  • variables - (Optional) A map of variables to associate with the Data Factory Pipeline.

  • activities_json - (Optional) A JSON object that contains the activities that will be associated with the Data Factory Pipeline.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the Data Factory Pipeline.

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Data Factory Pipeline.
  • update - (Defaults to 30 minutes) Used when updating the Data Factory Pipeline.
  • read - (Defaults to 5 minutes) Used when retrieving the Data Factory Pipeline.
  • delete - (Defaults to 30 minutes) Used when deleting the Data Factory Pipeline.

» Import

Data Factory Pipeline's can be imported using the resource id, e.g.

terraform import azurerm_data_factory_pipeline.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/pipelines/example