pulumi/tests/integration/nodejs/packageadd_npm/index.ts

11 lines
273 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
// Create a GCP resource (Storage Bucket)
const bucket = new gcp.storage.Bucket("my-bucket", {
location: "US"
});
// Export the DNS name of the bucket
export const bucketName = bucket.url;