azurerm_service_fabric_managed_cluster

Manages a Resource Group.

Example Usage

resource "azurerm_service_fabric_managed_cluster" "example" {
  name                = "example"
  resource_group_name = "example"
  location            = "West Europe"
  http_gateway_port   = 4567

  lb_rule {
    backend_port       = 38080
    frontend_port      = 80
    probe_protocol     = "http"
    probe_request_path = "/test"
    protocol           = "tcp"
  }
  client_connection_port = 12345

  node_type {
    data_disk_size_gb      = 130
    name                   = "test1"
    primary                = true
    application_port_range = "30000-49000"
    ephemeral_port_range   = "10000-20000"

    vm_size            = "Standard_DS1_v2"
    vm_image_publisher = "MicrosoftWindowsServer"
    vm_image_sku       = "2019-Datacenter-with-Containers"
    vm_image_offer     = "WindowsServer"
    vm_image_version   = "latest"
    vm_instance_count  = 5
  }
}

Arguments Reference

The following arguments are supported:



A active_directory block supports the following:


A authentication block supports the following:


A certificate block supports the following:


A certificates block supports the following:


A custom_fabric_setting block supports the following:


A lb_rule block supports the following:


A node_type block supports the following:


A vm_secrets block supports the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

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

Import

Resource Groups can be imported using the resource id, e.g.

terraform import azurerm_service_fabric_managed_cluster.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ServiceFabric/managedClusters/clusterName1