Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 2 KB

resource_pool_group.md

File metadata and controls

65 lines (48 loc) · 2 KB
page_title subcategory description
morpheus_resource_pool_group Resource - terraform-provider-morpheus
Provides a Morpheus resource pool group resource

morpheus_resource_pool_group

Provides a Morpheus resource pool group resource

Example Usage

resource "morpheus_resource_pool_group" "tfexample_resource_pool_group" {
  name              = "TFExample Resource Pool Group"
  description       = "TFExample Resource Pool Group"
  mode              = "roundRobin"
  resource_pool_ids = [1, 2, 3]
  all_group_access  = true
  group_access {
    group_id = 2
    default  = true
  }
  visibility = "public"
  tenant_ids = [1, 2]
}

Schema

Required

  • mode (String) The load balancing mode of the resource pool group (roundrobin, availablecapacity)
  • name (String) The name of the resource pool group
  • resource_pool_ids (Set of Number) A list of resource pool ids associated with the resource pool group

Optional

  • all_group_access (Boolean) Whether all groups will be granted access to the resource pool group
  • description (String) The description of the resource pool group
  • group_access (Block List) A list of Morpheus group configuration to enable group access to the resource pool group (see below for nested schema)
  • tenant_ids (Set of Number) A list of tenant ids associated with the resource pool group
  • visibility (String) Whether the resource pool group is visible in sub-tenants or not

Read-Only

  • id (String) The ID of the resource pool group

Nested Schema for group_access

Required:

  • default (Boolean) Whether the resource pool group will be a default for the associated group
  • group_id (Number) The ID of the Morpheus group to grant access to the resource pool group

Import

Import is supported using the following syntax:

terraform import morpheus_resource_pool_group.tf_example_resource_pool_group 1