Manages private and isolated Logic App instances within an Azure virtual network.
resource "azurerm_resource_group" "example" {
name = "exampleRG1"
location = "West Europe"
}
resource "azurerm_virtual_network" "example" {
name = "example-vnet1"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
address_space = ["10.0.0.0/22"]
}
resource "azurerm_subnet" "isesubnet1" {
name = "isesubnet1"
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.1.0/27"]
delegation {
name = "integrationServiceEnvironments"
service_delegation {
name = "Microsoft.Logic/integrationServiceEnvironments"
}
}
}
resource "azurerm_subnet" "isesubnet2" {
name = "isesubnet2"
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.1.32/27"]
}
resource "azurerm_subnet" "isesubnet3" {
name = "isesubnet3"
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.1.64/27"]
}
resource "azurerm_subnet" "isesubnet4" {
name = "isesubnet4"
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.1.96/27"]
}
resource "azurerm_integration_service_environment" "example" {
name = "example-ise"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
sku_name = "Developer_0"
access_endpoint_type = "Internal"
virtual_network_subnet_ids = [
azurerm_subnet.isesubnet1.id,
azurerm_subnet.isesubnet2.id,
azurerm_subnet.isesubnet3.id,
azurerm_subnet.isesubnet4.id
]
tags = {
environment = "development"
}
}
The following arguments are supported:
name
- (Required) The name of the Integration Service Environment. Changing this forces a new Integration Service Environment to be created.
resource_group_name
- (Required) The name of the Resource Group where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created.
location
- (Required) The Azure Region where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created.
sku_name
- (Optional) The SKU name and capacity of the Integration Service Environment. Possible values are Developer_0
, Premium_0
, Premium_1
, Premium_2
, Premium_3
, Premium_4
, Premium_5
, Premium_6
, Premium_7
, Premium_8
, Premium_9
and Premium_10
. Defaults to Developer_0
.
access_endpoint_type
- (Required) The type of access endpoint to use for the Integration Service Environment. Possible Values are Internal
and External
. Changing this forces a new Integration Service Environment to be created.
virtual_network_subnet_ids
- (Required) A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to /27
subnets must be provided. Changing this forces a new Integration Service Environment to be created.
tags
- (Optional) A mapping of tags which should be assigned to the Integration Service Environment.In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Integration Service Environment.
connector_endpoint_ip_addresses
- The list of access endpoint IP addresses of connector.
connector_outbound_ip_addresses
- The list of outgoing IP addresses of connector.
workflow_endpoint_ip_addresses
- The list of access endpoint IP addresses of workflow.
workflow_outbound_ip_addresses
- The list of outgoing IP addresses of workflow.
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 hours) Used when creating the Integration Service Environment.read
- (Defaults to 5 minutes) Used when retrieving the Integration Service Environment.update
- (Defaults to 5 hours) Used when updating the Integration Service Environment.delete
- (Defaults to 5 hours) Used when deleting the Integration Service Environment.Integration Service Environments can be imported using the resource id
, e.g.
terraform import azurerm_integration_service_environment.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationServiceEnvironments/ise1