googleContainerAttachedInstallManifest
Provides access to available platform versions in a location for a given project.
Example Usage
import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
const dataGoogleContainerAttachedInstallManifestManifest =
new google.dataGoogleContainerAttachedInstallManifest.DataGoogleContainerAttachedInstallManifest(
this,
"manifest",
{
cluster_id: "test-cluster-1",
location: "us-west1",
platform_version: "1.25.0-gke.1",
project: "my-project",
}
);
new cdktf.TerraformOutput(this, "install_manifest", {
value: dataGoogleContainerAttachedInstallManifestManifest,
});
Argument Reference
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. -
clusterId
(Required) - The name that will be used when creating the attached cluster resource. -
platformVersion
(Required) - The platform version for the cluster. A list of valid values can be retrieved using thegoogleContainerAttachedVersions
data source.
Attributes Reference
The following attributes are exported:
manifest
- A string with the YAML manifest that needs to be applied to the cluster.