Add multi-cloud example targeting AWS and GCP
Fixes
ADD
multicloud-ts-buckets/.gitignore
+/bin/
+/node_modules/

ADD
multicloud-ts-buckets/Pulumi.yaml
+name: multicloud-ts-buckets
+runtime: nodejs
+description: Example showing a single program deploying to both AWS and GCP
+template:
+ description: Example showing a single program deploying to both AWS and GCP
+ config:
+ aws:region:
+ description: The AWS region in which to perform operations
+ default: us-east-1
+ gcp:project:
+ description: The ID of the GCP project in which deploy resources

ADD
multicloud-ts-buckets/index.ts
+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 the names of the buckets
+export const bucketNames = [
+ awsBucket.bucket,
+ gcpBucket.name,
+];
+

ADD
multicloud-ts-buckets/package.json
+{
+ "name": "aws-typescript",
+ "devDependencies": {
+ "@types/node": "latest"
+ },
+ "dependencies": {
+ "@pulumi/aws": "latest",
+ "@pulumi/gcp": "latest",
+ "@pulumi/pulumi": "latest"
+ }
+}

ADD
multicloud-ts-buckets/tsconfig.json
+{
+ "compilerOptions": {
+ "outDir": "bin",
+ "target": "es6",
+ "lib": [
+ "es6"
+ ],
+ "module": "commonjs",
+ "moduleResolution": "node",
+ "sourceMap": true,
+ "experimentalDecorators": true,
+ "pretty": true,
+ "noFallthroughCasesInSwitch": true,
+ "noImplicitAny": true,
+ "noImplicitReturns": true,
+ "forceConsistentCasingInFileNames": true,
+ "strictNullChecks": true
+ },
+ "files": [
+ "index.ts"
+ ]
+}

Add multi-cloud example targeting AWS and GCP

Fixes #177.