Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 3.07 KB

File metadata and controls

80 lines (58 loc) · 3.07 KB
Title Description
Provisioner data source in a management cluster
Provisioner data source in a management cluster.

Management Cluster Provisioner

Read provisioner in a management cluster using this Terraform module.

Tanzu Kubernetes Grid Service and Tanzu Kubernetes Grid vSphere

  • Only provisioner read feature is enabled for Tanzu Kubernetes Grid Service and Tanzu Kubernetes Grid vSphere management clusters.
  • For a Tanzu Kubernetes cluster running in vSphere, you add a provisioner by creating a namespace in the management cluster, which you can do using kubectl. For more information, see Create Namespaces in the Management Cluster in the VMware Tanzu Kubernetes Grid Product Documentation.
  • For a Tanzu Kubernetes cluster running in vSphere with Tanzu, you add a provisioner by creating a vSphere namespace in the Supervisor Cluster, which you can do in your vSphere environment. For more information, see Configuring and Managing vSphere 7.x and vSphere 8.x Namespaces in the vSphere with Tanzu Configuration and Management documentation.

Example Usage

# Read Tanzu Mission Control provisioner : fetch the given provisioner details
data "tanzu-mission-control_provisioner" "read_provisioner" {
  provisioners {
    name = "test-provisioner" # Optional
    management_cluster = "eks" # Required
  }
}

# Read Tanzu Mission Control provisioner : fetch all the provisioner details for the given management cluster
data "tanzu-mission-control_provisioner" "read_provisioner" {
  provisioners {
    management_cluster = "eks" # Required
  }
}

Schema

Optional

Read-Only

  • id (String) The ID of this resource.

Nested Schema for provisioners

Required:

  • management_cluster (String) Name of the management cluster

Optional:

  • meta (Block List, Max: 1) Metadata for the resource (see below for nested schema)
  • name (String) Name of the provisioner
  • org_id (String) ID of the organization

Nested Schema for provisioners.meta

Optional:

  • annotations (Map of String) Annotations for the resource
  • description (String) Description of the resource
  • labels (Map of String) Labels for the resource

Read-Only:

  • resource_version (String) Resource version of the resource
  • uid (String) UID of the resource