Provides access to available platform versions in a location for a given project.
data "google_container_attached_install_manifest" "manifest" {
location = "us-west1"
project = "my-project"
cluster_id = "test-cluster-1"
platform_version = "1.25.0-gke.1"
}
output "install_manifest" {
value = data.google_container_attached_install_manifest.manifest
}
The following arguments are supported:
location
(Optional) - The location to list versions for.
project
(Optional) - ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
Defaults to the project that the provider is authenticated with.
cluster_id
(Required) - The name that will be used when creating the attached cluster resource.
platform_version
(Required) - The platform version for the cluster. A list of valid values can be retrieved using the google_container_attached_versions
data source.
The following attributes are exported:
manifest
- A string with the YAML manifest that needs to be applied to the cluster.