Update references to docs.pulumi.com to pulumi.io
MODIFY
README.md
README.md
@@ -9,7 +9,7 @@ Platform](https://github.com/pulumi/pulumi-gcp), `kubernetes` for
[Kubernetes](https://github.com/pulumi/pulumi-kubernetes), or `cloud` for
[Pulumi's cross-cloud programming framework](https://github.com/pulumi/pulumi-cloud).
-See the [Pulumi documentation](https://docs.pulumi.com) for more details on getting started with Pulumi.
+See the [Pulumi documentation](https://pulumi.io) for more details on getting started with Pulumi.
### Cloud Infrastructure

MODIFY
aws-go-s3-folder/README.md
aws-go-s3-folder/README.md
# Static Website Hosted on AWS S3 in Go
A static website that uses [S3's website support](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
-For a detailed walkthrough of this example, see
-[Part 2 of the Pulumi quickstart](https://docs.pulumi.com/quickstart/part2.html).
+For a detailed walkthrough of this example, see the tutorial [Static Website on AWS S3](https://pulumi.io/quickstart/aws-s3-website.html).
## Deploying and running the program

MODIFY
aws-js-s3-folder-component/README.md
aws-js-s3-folder-component/README.md
# Static Website Hosted on AWS S3
-The component version of [aws-js-s3-folder](../aws-js-s3-folder). For a detailed walkthrough of this example, see [Tutorial: Pulumi Components](https://docs.pulumi.com/reference/component-tutorial.html).
+The component version of [aws-js-s3-folder](../aws-js-s3-folder). For a detailed walkthrough of this example, see [Tutorial: Pulumi Components](https://pulumi.io/reference/component-tutorial.html).
## Deploying and running the program

MODIFY
aws-js-s3-folder/README.md
aws-js-s3-folder/README.md
# Static Website Hosted on AWS S3
-A static website that uses [S3's website support](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html). For a detailed walkthrough of this example, see [Part 2 of the Pulumi quickstart](https://docs.pulumi.com/quickstart/part2.html).
+A static website that uses [S3's website support](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
+For a detailed walkthrough of this example, see the tutorial [Static Website on AWS S3](https://pulumi.io/quickstart/aws-s3-website.html).
## Deploying and running the program

MODIFY
aws-js-webserver-component/README.md
aws-js-webserver-component/README.md
Deploy an EC2 instances using `@pulumi/aws`, using a common module for creating an instance. A function `createInstance` is defined in [webserver.js](webserver.js) which is then used in main program.
-For a walkthrough of the main example, see [Part 1 of the quickstart](https://docs.pulumi.com/quickstart/part1.html) in the Pulumi documentation
\ No newline at end of file
+For a walkthrough of the main example, [Infrastructure on AWS](https://pulumi.io/quickstart/aws-ec2.html).
\ No newline at end of file

MODIFY
aws-js-webserver/README.md
aws-js-webserver/README.md
# AWS web server example in JavaScript
-Deploy an EC2 instance using `@pulumi/aws`. This example shows how to use multiple infrastructure resources in one program. For a detailed walkthrough, see [Part 1 of the quickstart](https://docs.pulumi.com/quickstart/part1.html) in the Pulumi documentation.
+Deploy an EC2 instance using `@pulumi/aws`. This example shows how to use multiple infrastructure resources in one program. For a detailed walkthrough, see the tutorial [Infrastructure on AWS](https://pulumi.io/quickstart/aws-ec2.html).

MODIFY
aws-py-webserver/README.md
aws-py-webserver/README.md
@@ -5,9 +5,9 @@ http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/deploying.applicat
## Prerequisites
-1. [Install Pulumi](https://docs.pulumi.com/install/)
-1. [Configure Pulumi for AWS](https://docs.pulumi.com/install/aws-config.html)
-1. [Configure Pulumi for Python](https://docs.pulumi.com/reference/python.html)
+1. [Install Pulumi](https://pulumi.io/install/)
+1. [Configure Pulumi for AWS](https://pulumi.io/install/aws-config.html)
+1. [Configure Pulumi for Python](https://pulumi.io/reference/python.html)
## Deploying and running the program
@@ -19,7 +19,7 @@ http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/deploying.applicat
$ pulumi stack init python-webserver-testing
```
-1. Since Pulumi is in private beta, run the following to install pip packages. For more information, see [Using Pulumi PyPI Packages](https://docs.pulumi.com/reference/python.html#pypi-packages).
+1. Since Pulumi is in private beta, run the following to install pip packages. For more information, see [Using Pulumi PyPI Packages](https://pulumi.io/reference/python.html#pypi-packages).
```
pip install \

MODIFY
cloud-js-containers/README.md
cloud-js-containers/README.md
# Easy container example
-Companion to the tutorial [Provision containers on AWS](https://docs.pulumi.com/quickstart/aws-containers.html).
+Companion to the tutorial [Provision containers on AWS](https://pulumi.io/quickstart/aws-containers.html).
## Prerequisites

MODIFY
cloud-js-httpendpoint/README.md
cloud-js-httpendpoint/README.md
# Serverless REST API on AWS
-A simple REST API that counts the number of times a route has been hit. For a detailed walkthrough of this example, see the article [Create a Serverless REST API](https://docs.pulumi.com/quickstart/aws-rest-api.html).
+A simple REST API that counts the number of times a route has been hit. For a detailed walkthrough of this example, see the article [Create a Serverless REST API](https://pulumi.io/quickstart/aws-rest-api.html).
> Note: this example uses JavaScript promises, but if you're using Node 8, you can change the code to use `async` and `await`.

MODIFY
cloud-ts-url-shortener/README.md
cloud-ts-url-shortener/README.md
@@ -116,7 +116,7 @@ let endpoint = new cloud.HttpEndpoint("urlshortener");
let urlTable = new cloud.Table("urls", "name");
```
-During `pulumi update`, the declaration `new cloud.HttpEndpoint` provisions an AWS API Gateway resource and `new cloud.Table` provisions a Dynamo DB instance. To learn more about how this works, see [How Pulumi Works](https://docs.pulumi.com/reference/how.html) in the documentation.
+During `pulumi update`, the declaration `new cloud.HttpEndpoint` provisions an AWS API Gateway resource and `new cloud.Table` provisions a Dynamo DB instance. To learn more about how this works, see [How Pulumi Works](https://pulumi.io/reference/how.html) in the documentation.
The `endpoint.get` and `endpoint.post` method calls cause Pulumi to register API routes on the API Gateway, pointing to an AWS Lambda function for each implementation:
@@ -135,4 +135,4 @@ endpoint.get("/url", async (req, res) => { // this function is the body of the L
Pulumi creates a Lambda function that contains the anonymous function passed to `endpoint.get`. Note that the value of `urlTable` is "captured." This means that `urlTable.scan` is turned into an API call on Dynamo DB, using the physical identifier for `urlTable`. There's no need to store this information in an environment variable; Pulumi wires everything up for you.
-To learn more about runtime and deployment time code, see [Programming Model](https://docs.pulumi.com/reference/programming-model.html) in the Pulumi documentation.
+To learn more about runtime and deployment time code, see [Programming Model](https://pulumi.io/reference/programming-model.html) in the Pulumi documentation.

MODIFY
cloud-ts-voting-app/README.md
cloud-ts-voting-app/README.md
@@ -76,7 +76,7 @@ Please confirm that this is what you'd like to do by typing ("testing"): testing
## About the code
-At the start of the program, the following lines retrieve the value for the Redis password by reading a [configuration value](https://docs.pulumi.com/reference/config.html). This is the same value that was set above with the command `pulumi config set redisPassword <value>`:
+At the start of the program, the following lines retrieve the value for the Redis password by reading a [configuration value](https://pulumi.io/reference/config.html). This is the same value that was set above with the command `pulumi config set redisPassword <value>`:
```typescript
let config = new pulumi.Config("voting-app");
@@ -94,9 +94,9 @@ let redisCache = new cloud.Service("voting-app-cache", ... )
let frontend = new cloud.Service("voting-app-frontend", ... )
```
-The definition of `redisCache` uses the [`image` property of `cloud.Service`](https://docs.pulumi.com/packages/pulumi-cloud/interfaces/_service_.container.html#image) to point to an existing Docker image. In this case, this is the image `redis` at tag `alpine` on Docker Hub. The `redisPassword` variable is passed to the startup command for this image.
+The definition of `redisCache` uses the [`image` property of `cloud.Service`](https://pulumi.io/reference/pkg/nodejs/@pulumi/cloud-aws/index.html) to point to an existing Docker image. In this case, this is the image `redis` at tag `alpine` on Docker Hub. The `redisPassword` variable is passed to the startup command for this image.
-The definition of `frontend` is more interesting, as it uses [`build` property of `cloud.Service`](https://docs.pulumi.com/packages/pulumi-cloud/interfaces/_service_.container.html#build) to point to a folder with a Dockerfile, which in this case is a Python Flask app. Pulumi automatically invokes `docker build` for you and pushes the container to ECR.
+The definition of `frontend` is more interesting, as it uses `build` property of `cloud.Service` to point to a folder with a Dockerfile, which in this case is a Python Flask app. Pulumi automatically invokes `docker build` for you and pushes the container to ECR.
So that the `frontend` container can connect to `redisCache`, the environment variables `REDIS`, `REDIS_PORT` are defined. Using the `redisCache.endpoints` property, it's easy to declare the connection between the two containers.

MODIFY
kubernetes-ts-guestbook/README.md
kubernetes-ts-guestbook/README.md
@@ -5,8 +5,8 @@ Pulumi and `@pulumi/kubernetes`.
## Running the App
-Follow the steps in [Pulumi Installation and Setup](https://docs.pulumi.com/install/) and [Configuring Pulumi
-Kubernetes](https://docs.pulumi.com/reference/kubernetes.html#configuration) to get setup with Pulumi and Kubernetes.
+Follow the steps in [Pulumi Installation and Setup](https://pulumi.io/install/) and [Configuring Pulumi
+Kubernetes](https://pulumi.io/reference/kubernetes.html#configuration) to get setup with Pulumi and Kubernetes.
> *Note*: The code in this repo assumes you are deploying to a cluster that supports the
> [`LoadBalancer`](https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer) service type.

MODIFY
kubernetes-ts-jenkins/README.md
kubernetes-ts-jenkins/README.md
@@ -5,8 +5,8 @@ Kubernetes cluster using Pulumi and `@pulumi/kubernetes`.
## Running the App
-Follow the steps in [Pulumi Installation and Setup](https://docs.pulumi.com/install/) and [Configuring Pulumi
-Kubernetes](https://docs.pulumi.com/reference/kubernetes.html#configuration) to get setup with Pulumi and Kubernetes.
+Follow the steps in [Pulumi Installation and Setup](https://pulumi.io/install/) and [Configuring Pulumi
+Kubernetes](https://pulumi.io/reference/kubernetes.html#configuration) to get setup with Pulumi and Kubernetes.
> *Note*: The code in this repo assumes you are deploying to a cluster that supports the
> [`LoadBalancer`](https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer) service type.

MODIFY
misc/travis/README.md
misc/travis/README.md
@@ -4,4 +4,4 @@ This directory contains some helpful example scripts for doing continuous deploy
your continuous integration service.
For more comprehensive information about how to accomplish Travis integration, see
-https://docs.pulumi.com/reference/cd-travis.html.
+https://pulumi.io/reference/cd-travis.html.

Update references to docs.pulumi.com to pulumi.io (#80)