Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Fix bucket name to avoid rejection by Google for having 'google' in it
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Lakshmanan committed Apr 20, 2021
1 parent c146659 commit 4436eae
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import * as pulumi from "@pulumi/pulumi";

const config = new pulumi.Config("google-native");
const project = config.require("project");
const bucketName = "pulumi-google-native-ts-01";
const bucketName = "pulumi-goog-native-ts-01";

// Create a Google Cloud resource (Storage Bucket)
const bucket = new storage.Bucket("my-bucket", {
Expand All @@ -69,7 +69,7 @@ from pulumi_google_native.storage import v1 as storage
config = pulumi.Config()
project = config.require('project')
# Create a Google Cloud resource (Storage Bucket)
bucket_name = "google-native-bucket-py-01"
bucket_name = "pulumi-goog-native-bucket-py-01"
bucket = storage.Bucket('my-bucket', name=bucket_name, bucket=bucket_name, project=project)

# Export the bucket self-link
Expand All @@ -88,7 +88,7 @@ import (
)

func main() {
const bucketName = "google-native-bucket-go-01"
const bucketName = "pulumi-goog-native-bucket-go-01"
pulumi.Run(func(ctx *pulumi.Context) error {
conf := config.New(ctx, "google-native")
project := conf.Require("project")
Expand Down Expand Up @@ -123,7 +123,7 @@ class Program
Deployment.Run(() => {
var config = new Config("google-native");
var project = config.Require("project");
var bucketName = "google-native-bucket-cs-01";
var bucketName = "pulumi-goog-native-bucket-cs-01";
// Create a Google Cloud resource (Storage Bucket)
var bucket = new Bucket("my-bucket", new BucketArgs{
Name = bucketName,
Expand Down

0 comments on commit 4436eae

Please sign in to comment.