getAttachedInstallManifest

Provides access to available platform versions in a location for a given project.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const manifest = gcp.container.getAttachedInstallManifest({
location: "us-west1",
project: "my-project",
clusterId: "test-cluster-1",
platformVersion: "1.25.0-gke.1",
});
export const installManifest = manifest;
import pulumi
import pulumi_gcp as gcp
manifest = gcp.container.get_attached_install_manifest(location="us-west1",
project="my-project",
cluster_id="test-cluster-1",
platform_version="1.25.0-gke.1")
pulumi.export("installManifest", manifest)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var manifest = Gcp.Container.GetAttachedInstallManifest.Invoke(new()
{
Location = "us-west1",
Project = "my-project",
ClusterId = "test-cluster-1",
PlatformVersion = "1.25.0-gke.1",
});
return new Dictionary<string, object?>
{
["installManifest"] = manifest,
};
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/container"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
manifest, err := container.GetAttachedInstallManifest(ctx, &container.GetAttachedInstallManifestArgs{
Location: "us-west1",
Project: "my-project",
ClusterId: "test-cluster-1",
PlatformVersion: "1.25.0-gke.1",
}, nil)
if err != nil {
return err
}
ctx.Export("installManifest", manifest)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetAttachedInstallManifestArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var manifest = ContainerFunctions.getAttachedInstallManifest(GetAttachedInstallManifestArgs.builder()
.location("us-west1")
.project("my-project")
.clusterId("test-cluster-1")
.platformVersion("1.25.0-gke.1")
.build());
ctx.export("installManifest", manifest);
}
}
variables:
manifest:
fn::invoke:
function: gcp:container:getAttachedInstallManifest
arguments:
location: us-west1
project: my-project
clusterId: test-cluster-1
platformVersion: 1.25.0-gke.1
outputs:
installManifest: ${manifest}

Return

A collection of values returned by getAttachedInstallManifest.

Parameters

argument

A collection of arguments for invoking getAttachedInstallManifest.


suspend fun getAttachedInstallManifest(clusterId: String, location: String, platformVersion: String, project: String): GetAttachedInstallManifestResult

Return

A collection of values returned by getAttachedInstallManifest.

Parameters

clusterId

The name that will be used when creating the attached cluster resource.

location

The location to list versions for.

platformVersion

The platform version for the cluster. A list of valid values can be retrieved using the gcp.container.getAttachedVersions data source.

project

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.

See also


Return

A collection of values returned by getAttachedInstallManifest.

Parameters

argument

Builder for com.pulumi.gcp.container.kotlin.inputs.GetAttachedInstallManifestPlainArgs.

See also