salmon-chef-59987
11/13/2018, 6:08 AMstocky-spoon-28903
11/13/2018, 7:13 AM$ pulumi new -y aws-typescript
$ npm install @pulumi/gcp
$ pulumi config set gcp:project my-project-name
import * as aws from "@pulumi/aws";
import * as gcp from "@pulumi/gcp";
// Create an AWS resource (S3 Bucket)
const awsBucket = new aws.s3.Bucket("my-bucket");
// Create a GCP resource (Storage Bucket)
const gcpBucket = new gcp.storage.Bucket("my-bucket");
export const bucketNames = [
awsBucket.bucket,
gcpBucket.name,
];
salmon-chef-59987
11/13/2018, 7:27 AMstocky-spoon-28903
11/13/2018, 7:40 AMsalmon-chef-59987
11/13/2018, 7:45 AMstocky-spoon-28903
11/13/2018, 9:40 AM