Title | Description |
---|---|
Package Data Source |
Read the Package from TMC. |
This resource allows you to read Package 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 package : fetch cluster package details
data "tanzu-mission-control_package" "get_cluster_package" {
name = "test-package-version" # Required
metadata_name = "package-metadata-name" # Required
scope {
cluster {
name = "testcluster" # Required
provisioner_name = "attached" # Default: attached
management_cluster_name = "attached" # Default: attached
}
}
}
metadata_name
(String) Metadata name of package.name
(String) Name of the package. It represents version of the Package metadatascope
(Block List, Min: 1, Max: 1) Scope for the data source, having one of the valid scopes: cluster. (see below for nested schema)
meta
(Block List, Max: 1) Metadata for the resource (see below for nested schema)
id
(String) The ID of this resource.namespace_name
(String) Namespae of package.spec
(List of Object) Spec for the Repository. (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
Optional:
annotations
(Map of String) Annotations for the resourcedescription
(String) Description of the resourcelabels
(Map of String) Labels for the resource
Read-Only:
resource_version
(String) Resource version of the resourceuid
(String) UID of the resource
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)