Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comments to examples explaining that pulumi/cloud is a preview package #353

Merged
merged 3 commits into from
Jul 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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