Skip to content

Commit

Permalink
Add comments to examples explaining that pulumi/cloud is a preview pa…
Browse files Browse the repository at this point in the history
…ckage (pulumi#353)
  • Loading branch information
CyrusNajmabadi committed Jul 31, 2019
1 parent ab2cc4a commit 72959d0
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 2 deletions.
8 changes: 7 additions & 1 deletion cloud-ts-url-shortener-cache-http/cache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as pulumi from "@pulumi/pulumi";
import * as cloud from "@pulumi/cloud";
Expand Down
6 changes: 6 additions & 0 deletions cloud-ts-url-shortener-cache-http/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as pulumi from "@pulumi/pulumi";
import * as cloud from "@pulumi/cloud";
import * as cache from "./cache";
Expand Down
6 changes: 6 additions & 0 deletions cloud-ts-url-shortener-cache/cache.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as cloud from "@pulumi/cloud";
import * as config from "./config";

Expand Down
8 changes: 7 additions & 1 deletion cloud-ts-url-shortener-cache/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as pulumi from "@pulumi/pulumi";
import * as cloud from "@pulumi/cloud";
import * as cache from "./cache";
Expand All @@ -8,7 +14,7 @@ import * as cache from "./cache";
let endpoint = new cloud.HttpEndpoint("urlshortener");

// Create a table `urls`, with `name` as primary key.
let urlTable = new cloud.Table("urls", "name");
let urlTable = new cloud.Table("urls", "name");

// Create a cache of frequently accessed urls.
let urlCache = new cache.Cache("urlcache");
Expand Down
6 changes: 6 additions & 0 deletions cloud-ts-url-shortener/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as cloud from "@pulumi/cloud-aws";
import { Output } from "@pulumi/pulumi"; // for output property

Expand Down
6 changes: 6 additions & 0 deletions cloud-ts-voting-app/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright 2017, Pulumi Corporation. All rights reserved.

// Note: @pulumi/cloud is a preview package demonstrating how to create cross-cloud Pulumi
// components. If you are targeting a specific cloud like AWS, Azure, or GCP, we recommend you use
// platform-specific packages like @pulumi/aws, @pulumi/azure or @pulumi/gcp. These packages give
// you full access to the breadth of the platform's capabilities and comes with many abstractions to
// make developing against that platform easier.

import * as pulumi from "@pulumi/pulumi";
import * as cloud from "@pulumi/cloud";

Expand Down

0 comments on commit 72959d0

Please sign in to comment.