Skip to content

Publish Package Metadata gcp@v10.6.0 - #13753

Merged
pulumi-bot merged 1 commit into
masterfrom
gcp/publish-metadata
Dec 2, 2026
Merged

pulumi-bot merged 1 commit into
masterfrom
gcp/publish-metadata

Conversation

@pulumi-bot

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

✅ gcp · community package check

https://raw.githubusercontent.com/pulumi/pulumi-gcp/v10.6.0/provider/cmd/pulumi-resource-gcp/schema.json · v10.6.0

Ready for approval. All checks passed; a maintainer's review is still required to merge.

check command
docs generate ✅ resourcedocsgen metadata from-urls
publisher listed ✅ Pulumi is a key in publisher-names.json

Owner Pulumi

Doc-lint ✅ clean. No relative images or raw HTML.

Provider docs (source as published):

_index.md · 160 lines · open full file
---
# WARNING: this file was fetched from https://raw.githubusercontent.com/pulumi/pulumi-gcp/v10.6.0/docs/_index.md
# Do not edit by hand unless you're certain you know what you are doing!
edit_url: https://github.com/pulumi/pulumi-gcp/blob/v10.6.0/docs/_index.md
title: Google Cloud (GCP)
meta_desc: Learn how to use Pulumi's GCP Provider to reduce the complexity of managing and provisioning GCP resources.
layout: package
---

The Google Cloud Platform (GCP) provider for Pulumi can provision many of the cloud resources available in [Google Cloud](https://cloud.google.com/).

The GCP provider must be configured with credentials to deploy and update resources in Google Cloud; see [Installation & Configuration](./installation-configuration) for instructions.

**New to Pulumi and Google Cloud?** [Get started with Google Cloud using our tutorial](/up/?cloud=gcp)


## Example

{{< chooser language "typescript,python,go,csharp,java,yaml,hcl" >}}

{{% choosable language typescript %}}

```typescript
import * as gcp from "@pulumi/gcp";

const bucket = new gcp.storage.Bucket("my-bucket", {
    location: "US",
});

export const bucketName = bucket.name;
```

{{% /choosable %}}
{{% choosable language python %}}

```python
import pulumi
from pulumi_gcp import storage

bucket = storage.Bucket("my-bucket", location="US")

pulumi.export("bucket_name", bucket.name)
```

{{% /choosable %}}
{{% choosable language go %}}

```go
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucket, err := storage.NewBucket(ctx, "my-bucket", &storage.BucketArgs{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}

		ctx.Export("bucketName", bucket.Name)
		return nil
	})
}
```

{{% /choosable %}}
{{% choosable language csharp %}}

```csharp
using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var bucket = new Gcp.Storage.Bucket("my-bucket", new()
    {
        Location = "US",
    });

    return new Dictionary<string, object?>
    {
        ["bucketName"] = bucket.Name,
    };
});
```

{{% /choosable %}}

{{% choosable language java %}}

```java
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.gcp.storage.Bucket;
import com.pulumi.gcp.storage.BucketArgs;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    private static void stack(Context ctx) {
        final var bucket = new Bucket("my-bucket", BucketArgs.builder()
            .location("US")
            .build());

        ctx.export("bucketName", bucket.name());
    }
}
```

{{% /choosable %}}

{{% choosable language yaml %}}

```yaml
resources:
  my-bucket:
    type: gcp:storage:Bucket
    properties:
      location: US

outputs:
  bucketName: ${my-bucket.name}
```

{{% /choosable %}}

{{% choosable language hcl %}}

```hcl
terraform {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_storage_bucket" "my-bucket" {
  location = "US"
}

output "bucketName" {
  value = gcp_storage_bucket.my-bucket.name
}
```

{{% /choosable %}}

{{< /chooser >}}

Visit the [Guides](./guides/) for major-version migration guides, and the [examples](https://www.pulumi.com/dev/examples/) for scenarios like Cloud Functions and GKE.

Checked PR head 6e8ef5af9ad1 · full run & command output

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

@pulumi-bot
pulumi-bot merged commit 1c36351 into master Dec 2, 2026
15 checks passed
@pulumi-bot
pulumi-bot deleted the gcp/publish-metadata branch December 2, 2026 11:59
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Site previews for this pull request have been removed. ✨

This branch was previously deployed

1 inactive deployment
testing — cb3415c9 Deployed Dec 2, 2026 by pulumi-bot via Build and deploy preview #15545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant