Manages an Azure Data Factory Managed Integration Runtime.
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_integration_runtime_managed" "example" {
name = "example"
data_factory_id = azurerm_data_factory.example.id
location = azurerm_resource_group.example.location
node_size = "Standard_D8_v3"
}
The following arguments are supported:
name
- (Required) Specifies the name of the Managed Integration Runtime. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
data_factory_id
- (Required) The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
location
- (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
node_size
- (Required) The size of the nodes on which the Managed Integration Runtime runs. Valid values are: Standard_D2_v3
, Standard_D4_v3
, Standard_D8_v3
, Standard_D16_v3
, Standard_D32_v3
, Standard_D64_v3
, Standard_E2_v3
, Standard_E4_v3
, Standard_E8_v3
, Standard_E16_v3
, Standard_E32_v3
, Standard_E64_v3
, Standard_D1_v2
, Standard_D2_v2
, Standard_D3_v2
, Standard_D4_v2
, Standard_A4_v2
and Standard_A8_v2
number_of_nodes
- (Optional) Number of nodes for the Managed Integration Runtime. Max is 10
. Defaults to 1
.
max_parallel_executions_per_node
- (Optional) Defines the maximum parallel executions per node. Defaults to 1
. Max is 1
.
edition
- (Optional) The Managed Integration Runtime edition. Valid values are Standard
and Enterprise
. Defaults to Standard
.
license_type
- (Optional) The type of the license that is used. Valid values are LicenseIncluded
and BasePrice
. Defaults to LicenseIncluded
.
catalog_info
- (Optional) A catalog_info
block as defined below.
credential_name
- (Optional) The name of the credential to use for the Managed Integration Runtime.
custom_setup_script
- (Optional) A custom_setup_script
block as defined below.
vnet_integration
- (Optional) A vnet_integration
block as defined below.
description
- (Optional) Integration runtime description.
A catalog_info
block supports the following:
server_endpoint
- (Required) The endpoint of an Azure SQL Server that will be used to host the SSIS catalog.
administrator_login
- (Optional) Administrator login name for the SQL Server.
administrator_password
- (Optional) Administrator login password for the SQL Server.
pricing_tier
- (Optional) Pricing tier for the database that will be created for the SSIS catalog. Valid values are: Basic
, Standard
, Premium
and PremiumRS
. Defaults to Basic
.
A custom_setup_script
block supports the following:
blob_container_uri
- (Required) The blob endpoint for the container which contains a custom setup script that will be run on every node on startup. See https://docs.microsoft.com/azure/data-factory/how-to-configure-azure-ssis-ir-custom-setup for more information.
sas_token
- (Required) A container SAS token that gives access to the files. See https://docs.microsoft.com/azure/data-factory/how-to-configure-azure-ssis-ir-custom-setup for more information.
A vnet_integration
block supports the following:
vnet_id
- (Required) ID of the virtual network to which the nodes of the Managed Integration Runtime will be added.
subnet_name
- (Required) Name of the subnet to which the nodes of the Managed Integration Runtime will be added.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Data Factory Integration Managed Runtime.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Data Factory Integration Managed Runtime.update
- (Defaults to 30 minutes) Used when updating the Data Factory Integration Managed Runtime.read
- (Defaults to 5 minutes) Used when retrieving the Data Factory Integration Managed Runtime.delete
- (Defaults to 30 minutes) Used when deleting the Data Factory Integration Managed Runtime.Data Factory Integration Managed Runtimes can be imported using the resource id
, e.g.
terraform import azurerm_data_factory_integration_runtime_managed.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/integrationruntimes/example