Title | Description |
---|---|
Packages Data Source |
Read the Packages from TMC. |
This resource allows you to get list of Packages from a cluster through Tanzu Mission Control.
The Available tab on the Catalog page in the Tanzu Mission Control console shows the packages that are available to be installed, including those that are in the Tanzu Standard package repository and other repositories that you have associated with a cluster.
# Read Tanzu Mission Control packages : fetch cluster packages details
data "tanzu-mission-control_packages" "read_cluster_packages" {
metadata_name = "package-metadata-name" # Required
scope {
cluster {
name = "testcluster" # Required
provisioner_name = "attached" # Default: attached
management_cluster_name = "attached" # Default: attached
}
}
}
scope
(Block List, Min: 1, Max: 1) Scope for the data source, having one of the valid scopes: cluster. (see below for nested schema)
metadata_name
(String) Metadata name of package.
id
(String) The ID of this resource.namespace_name
(String) Namespae of package.packages
(List of Object) (see below for nested schema)
Optional:
cluster
(Block List, Max: 1) The schema for cluster full name (see below for nested schema)
Required:
name
(String) Name of this cluster
Optional:
management_cluster_name
(String) Name of the management clusterprovisioner_name
(String) Provisioner of the cluster
Read-Only:
name
(String)spec
(List of Object) (see below for nested schema)
Read-Only:
capacity_requirements_description
(String)licenses
(Set of String)release_notes
(String)released_at
(String)repository_name
(String)values_schema
(List of Object) (see below for nested schema)
Read-Only:
template
(List of Object) (see below for nested schema)
Read-Only:
raw
(String)