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

Updates for 0.12.1 #254

Merged
merged 5 commits into from
May 9, 2018
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
2 changes: 1 addition & 1 deletion _data/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ toc:
- title: Installation and Setup
path: /install/index
section:
- install/aws-config.md
- install/aws.md
- install/configure-npm.md
- install/changelog.md
2 changes: 1 addition & 1 deletion _data/reference.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nav_section: "Reference"
toc:
- title: API reference
path: /reference/index
path: /reference/

- title: Commands (CLI)
path: /reference/commands
Expand Down
2 changes: 1 addition & 1 deletion _includes/aws-js-prereqs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Prerequisites

1. [Install Pulumi](../install)
1. [Configure the AWS CLI](../install/aws-config.html)
1. [Configure the AWS CLI](../install/aws.html)
<!-- TODO: remove -->
1. [Configure your NPM client](../install/configure-npm.html) to access the private Pulumi NPM packages (this only required while Pulumi is in private beta).
40 changes: 28 additions & 12 deletions dashboard.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
{
"gettingStarted": {
"gettingStartedTerminal": {
"title": "Getting Started",
"icon": "school",
"items": [
{ "title": "Installation and Setup", "url": "https://docs.pulumi.com/install/" },
{ "title": "Quick Start", "url": "https://docs.pulumi.com/quickstart/" },
{ "title": "Examples", "url": "https://github.com/pulumi/examples" },
{ "title": "Pulumi Slack", "url": "https://pulumi.slack.com/" }
"icon": "play_circle_filled",
"lines": [
{ "type": "comment", "line": "Prerequisites" },
{ "type": "comment", "line": "* Install Node.js:" },
{ "type": "comment", "line": "https://nodejs.org/en/download/" },
{ "type": "comment", "line": "* Configure AWS:" },
{ "type": "comment", "line": "https://docs.pulumi.com/install/aws.html" },
{ "type": "comment", "line": "" },

{ "type": "comment", "line": "Step 1. Install Pulumi" },
{ "type": "command", "line": "curl -fsSL https://get.pulumi.com | sh" },

{ "type": "comment", "line": "Step 2. Create a new project" },
{ "type": "command", "line": "pulumi new hello-aws-javascript" },

{ "type": "comment", "line": "Step 3. Deploy to the cloud" },
{ "type": "command", "line": "pulumi update" }
]
},
"documentation": {
"title": "Documentation",
"icon": "library_books",
"items": [
{ "title": "Introduction", "url": "https://docs.pulumi.com/reference/" },
{ "title": "Concepts", "url": "https://docs.pulumi.com/reference/concepts.html" },
{ "title": "Programming Model", "url": "https://docs.pulumi.com/reference/programming-model.html" },
{ "title": "Learn about AWS", "url": "https://docs.pulumi.com/reference/aws.html" },
{ "title": "Learn about Kubernetes", "url": "https://docs.pulumi.com/reference/kubernetes.html" }
{ "title": "Quick Start", "url": "https://docs.pulumi.com/quickstart/" },
{ "title": "Introduction", "url": "https://docs.pulumi.com/concepts/" },
{ "title": "Reference", "url": "https://docs.pulumi.com/reference" },
{ "title": "Examples", "url": "https://github.com/pulumi/examples" },
{ "title": "Pulumi Slack", "url": "https://pulumi.slack.com/" }
]
},
"news": {
"title": "News",
"icon": "radio",
"items": [
{
"title": "Pulumi 0.12.1 now available",
"url": "https://docs.pulumi.com/install/changelog.html#v121",
"date": "2018-05-09"
},
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we unpublish 0.12.0, so we don't have any risk that LM will pick it up? (Or at least, not advertise it on this page?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a changelog and News perspective I wouldn't remove it - as it's part of the history of improvements.

We will not provide any direct links to download 0.12.0 from the docs page after these changes.

We could choose to unpublish as well if we want to be really paranoid. We shoudl wait until after we merge these changes so that links from docs site continue workin.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok... but you have to realize there's a non-zero risk someone from LM is going to accidentally download it, and we will be left dealing with the fallout of previews doing updates ... may not happen, but given that Lucas already tried to roll ahead to 0.11.x, I wouldn't discount the possibility.

If we're doing this, by the way -- which I almost always agree with except for builds we've published that we explicitly know are trash -- why did all the historical versions go away?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure precisely which piece of content you are concerned about here. The dashboard news feed - which this comment is attached to - has only existed since 0.11.3, so only includes releases since then. It links to the chanelog sections, not to downloads.

The only links to historical downloads are at the top of the changelog, and only to the latest 0.10, 0.11 and 0.12 release respectively. So after these changes are merged, to my knowledge, there will be no links from this site to download 0.12.0.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should just merge as-is if there's no download link they might find.

"title": "Pulumi 0.12.0 now available",
"url": "https://docs.pulumi.com/install/changelog.html#v120",
Expand Down
File renamed without changes.
105 changes: 102 additions & 3 deletions install/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ title: "Change Log"
</thead>
<tbody>
<tr>
<th scope="row"><a href="#v120">0.12.0</a></th>
<td>2018/04/26</td>
<td>{% include sdk-links.html version='0.12.0' %}</td>
<th scope="row"><a href="#v121">0.12.1</a></th>
<td>2018/05/09</td>
<td>{% include sdk-links.html version='0.12.1' %}</td>
</tr>
<tr>
<th scope="row"><a href="#v113">0.11.3</a></th>
Expand All @@ -42,6 +42,105 @@ title: "Change Log"

> See [known issues](../reference/known-issues.html) for currently known issues and workarounds.

## v0.12.1 {#v121}

Released on May 9, 2018

### Added

- A new all-in-one installer script is now available at [https://get.pulumi.com](../).

- Many enhancements to `pulumi new` ([pulumi/pulumi#1307](https://github.com/pulumi/pulumi/pull/1307)). The command now interactively walks through creating everything needed to deploy a new stack, including selecting a template, providing a name, creating a stack, setting default configuration, and installing dependencies.

- Several improvements to the `pulumi update` CLI experience ([pulumi/pulumi#1260](https://github.com/pulumi/pulumi/pull/1260)): a tree view display, more details from logs during deployments, and rendering of stack outputs at the end of updates.

- A new `@pulumi/aws-infra` package is available which contains useful AWS infrastructure components for `Network` and `Cluster` (([pulumi/pulumi-cloud#472](https://github.com/pulumi/pulumi-cloud/pull/472)).

### Changed

- (**Breaking**) Removed the `LogCollector` and `onError` handler from `@pulumi-cloud` ([pulumi/pulumi-cloud#474](https://github.com/pulumi/pulumi-cloud/pull/474)). These were previously created in all stacks using `@pulumi/cloud`, but in practice were not being used.

### Fixed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still long for a more complete list of commits. This list looks far more sparse than it ought to.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add this? The majority of these are internal engineering things and most users do not have access to any of the links - but if we want to advertise the volume of work, this will do that.

Commits

pulumi/pulumi#1346: Fix preview against a PPC
pulumi/pulumi#1345: Make tokenSource.Close() synchronous.
pulumi/pulumi#1342: "Revert ""Revert the changes from #1261."""
pulumi/pulumi#1341: Capture Git committer and author info
pulumi/pulumi#1340: Support -y as shorthand for --yes
pulumi/pulumi#1339: Make the default pulumi new project description empty
pulumi/pulumi#1338: Simplify cmdutil.InitTracing.
pulumi/pulumi#1336: "Add ""Sign in to Pulumi"" to the login prompt"
pulumi/pulumi#1335: Avoid treating binary template files as text
pulumi/pulumi#1333: Restore streaming of plugin outputs to the progress display.
pulumi/pulumi#1332: Simplify code that decides to show stack outputs.
pulumi/pulumi#1330: Begin tracing Pulumi API calls.
pulumi/pulumi#1328: Enhance the engine's tracing support a bit.
pulumi/pulumi#1327: Print stack outputs at the end of an update.
pulumi/pulumi#1326: Cache workspaces based on full path.
pulumi/pulumi#1323: Remove test token
pulumi/pulumi#1322: Fix a typo.
pulumi/pulumi#1321: Run Configure calls in parallel
pulumi/pulumi#1319: Use git for detecting a dirty worktree.
pulumi/pulumi#1318: Add support for CPU and heap profiling.
pulumi/pulumi#1317: Enable tracing of integration tests.
pulumi/pulumi#1315: Make debuggable promise properties non-enumerable
pulumi/pulumi#1311: Support async function serialization.
pulumi/pulumi#1307: pulumi new improvements
pulumi/pulumi#1305: Put StartUpdateRequest in POST body
pulumi/pulumi#1304: Don't attempt to preview a destroy operation for a PPC hosted stack
pulumi/pulumi#1303: Fix Preview against a PPC
pulumi/pulumi#1302: Revert the changes from #1261.
pulumi/pulumi#1300: Invoke node directly from the language host
pulumi/pulumi#1299: Add necessary refresh apitypes
pulumi/pulumi#1297: Disable interactive mode for a CI/CD server.
pulumi/pulumi#1295: Use nicer URLs for stacks on the new identity model
pulumi/pulumi#1293: Improve two minor UX things in the CLI
pulumi/pulumi#1290: Revise the way previews are controlled
pulumi/pulumi#1289: Remove SDK dependencies
pulumi/pulumi#1288: Add commands to generate goodies
pulumi/pulumi#1287: Fix login/logout issue against non api.pulumi.com clouds
pulumi/pulumi#1286: Improve the error message if Pulumi runtime SDK isn't installed
pulumi/pulumi#1285: Fix an issue where errors outside of resource creation got dropped
pulumi/pulumi#1284: Remove pulumi history command
pulumi/pulumi#1283: Fix handling of nested archives
pulumi/pulumi#1282: Add static entries for Pulumi backends to /etc/hosts
pulumi/pulumi#1281: Use glog instead of printf
pulumi/pulumi#1277: "Pass ""special"" properties to Invoke."
pulumi/pulumi#1275: Add a URL column to stack ls.
pulumi/pulumi#1274: Minor CLI improvements
pulumi/pulumi#1273: Snapshot management overhaul and refactor
pulumi/pulumi#1271: Remove some obsolete flags from pulumi config rm
pulumi/pulumi#1267: Fix python package versions
pulumi/pulumi#1266: Require a resource's parent to actually be a resource.
pulumi/pulumi#1264: Fix update permalink for stacks on new identity model
pulumi/pulumi#1262: Add a hidden --no-interactive flag so that we can reduce interactive noise when running jenkins.
pulumi/pulumi#1261: Work around issue #1251.
pulumi/pulumi#1260: Add a new tree-view form for the progress view.
pulumi/pulumi#1254: Re-introduce interface for snapshot management
pulumi/pulumi-aws#205: Revert 2 PRs
pulumi/pulumi-aws#204: Enable tracing for integration tests.
pulumi/pulumi-aws#203: Make 'Function' a generic type
pulumi/pulumi-aws#202: Make serverless/function into a subclass of lambda/function.
pulumi/pulumi-cloud#480: Fix package publishing
pulumi/pulumi-cloud#478: Remove aws-infra from pulumi-cloud.
pulumi/pulumi-cloud#477: Use interface in place of class.
pulumi/pulumi-cloud#474: Remove LogCollector and onError
pulumi/pulumi-cloud#473: Enable tracing for integration tests.
pulumi/pulumi-cloud#472: Extract 'aws-infra' types into their own package independent of cloud-aws
pulumi/pulumi-cloud#470: Allow paging in Table.scan.
pulumi/pulumi-cloud#469: Use newer way of naming configuration
pulumi/pulumi-cloud#467: Don't yarn link @pulumi dependencies
pulumi/pulumi-cloud#465: Expose a 'defaultEndpoint' off of a Service to make consumption easier.
pulumi/pulumi-cloud#464: Pass hostPort explicitly in container definitions

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels nice from an open source transparency perspective. Let's do it.


- Significant performance improvements for `pulumi update` ([pulumi/pulumi#1319](https://github.com/pulumi/pulumi/pull/1319)).

- JavaScript `async` functions in Node 7.6+ now work with Pulumi function serialization ([pulumi/pulumi#1311](https://github.com/pulumi/pulumi/pull/1311).

- Support installation on Windows in folders which contain spaces in their name ([pulumi/pulumi#1300](https://github.com/pulumi/pulumi/pull/1300)).

### Commits

- [pulumi/pulumi#1346](https://github.com/pulumi/pulumi/pull/1346): Fix preview against a PPC
- [pulumi/pulumi#1345](https://github.com/pulumi/pulumi/pull/1345): Make tokenSource.Close() synchronous.
- [pulumi/pulumi#1342](https://github.com/pulumi/pulumi/pull/1342): "Revert ""Revert the changes from #1261."""
- [pulumi/pulumi#1341](https://github.com/pulumi/pulumi/pull/1341): Capture Git committer and author info
- [pulumi/pulumi#1340](https://github.com/pulumi/pulumi/pull/1340): Support -y as shorthand for --yes
- [pulumi/pulumi#1339](https://github.com/pulumi/pulumi/pull/1339): Make the default `pulumi new` project description empty
- [pulumi/pulumi#1338](https://github.com/pulumi/pulumi/pull/1338): Simplify cmdutil.InitTracing.
- [pulumi/pulumi#1336](https://github.com/pulumi/pulumi/pull/1336): "Add ""Sign in to Pulumi"" to the login prompt"
- [pulumi/pulumi#1335](https://github.com/pulumi/pulumi/pull/1335): Avoid treating binary template files as text
- [pulumi/pulumi#1333](https://github.com/pulumi/pulumi/pull/1333): Restore streaming of plugin outputs to the progress display.
- [pulumi/pulumi#1332](https://github.com/pulumi/pulumi/pull/1332): Simplify code that decides to show stack outputs.
- [pulumi/pulumi#1330](https://github.com/pulumi/pulumi/pull/1330): Begin tracing Pulumi API calls.
- [pulumi/pulumi#1328](https://github.com/pulumi/pulumi/pull/1328): Enhance the engine's tracing support a bit.
- [pulumi/pulumi#1327](https://github.com/pulumi/pulumi/pull/1327): Print stack outputs at the end of an update.
- [pulumi/pulumi#1326](https://github.com/pulumi/pulumi/pull/1326): Cache workspaces based on full path.
- [pulumi/pulumi#1323](https://github.com/pulumi/pulumi/pull/1323): Remove test token
- [pulumi/pulumi#1322](https://github.com/pulumi/pulumi/pull/1322): Fix a typo.
- [pulumi/pulumi#1321](https://github.com/pulumi/pulumi/pull/1321): Run Configure calls in parallel
- [pulumi/pulumi#1319](https://github.com/pulumi/pulumi/pull/1319): Use `git` for detecting a dirty worktree.
- [pulumi/pulumi#1318](https://github.com/pulumi/pulumi/pull/1318): Add support for CPU and heap profiling.
- [pulumi/pulumi#1317](https://github.com/pulumi/pulumi/pull/1317): Enable tracing of integration tests.
- [pulumi/pulumi#1315](https://github.com/pulumi/pulumi/pull/1315): Make debuggable promise properties non-enumerable
- [pulumi/pulumi#1311](https://github.com/pulumi/pulumi/pull/1311): Support async function serialization.
- [pulumi/pulumi#1307](https://github.com/pulumi/pulumi/pull/1307): `pulumi new` improvements
- [pulumi/pulumi#1305](https://github.com/pulumi/pulumi/pull/1305): Put StartUpdateRequest in POST body
- [pulumi/pulumi#1304](https://github.com/pulumi/pulumi/pull/1304): Don't attempt to preview a destroy operation for a PPC hosted stack
- [pulumi/pulumi#1303](https://github.com/pulumi/pulumi/pull/1303): Fix Preview against a PPC
- [pulumi/pulumi#1302](https://github.com/pulumi/pulumi/pull/1302): Revert the changes from #1261.
- [pulumi/pulumi#1300](https://github.com/pulumi/pulumi/pull/1300): Invoke node directly from the language host
- [pulumi/pulumi#1299](https://github.com/pulumi/pulumi/pull/1299): Add necessary refresh apitypes
- [pulumi/pulumi#1297](https://github.com/pulumi/pulumi/pull/1297): Disable interactive mode for a CI/CD server.
- [pulumi/pulumi#1295](https://github.com/pulumi/pulumi/pull/1295): Use nicer URLs for stacks on the new identity model
- [pulumi/pulumi#1293](https://github.com/pulumi/pulumi/pull/1293): Improve two minor UX things in the CLI
- [pulumi/pulumi#1290](https://github.com/pulumi/pulumi/pull/1290): Revise the way previews are controlled
- [pulumi/pulumi#1289](https://github.com/pulumi/pulumi/pull/1289): Remove SDK dependencies
- [pulumi/pulumi#1288](https://github.com/pulumi/pulumi/pull/1288): Add commands to generate goodies
- [pulumi/pulumi#1287](https://github.com/pulumi/pulumi/pull/1287): Fix login/logout issue against non api.pulumi.com clouds
- [pulumi/pulumi#1286](https://github.com/pulumi/pulumi/pull/1286): Improve the error message if Pulumi runtime SDK isn't installed
- [pulumi/pulumi#1285](https://github.com/pulumi/pulumi/pull/1285): Fix an issue where errors outside of resource creation got dropped
- [pulumi/pulumi#1284](https://github.com/pulumi/pulumi/pull/1284): Remove `pulumi history` command
- [pulumi/pulumi#1283](https://github.com/pulumi/pulumi/pull/1283): Fix handling of nested archives
- [pulumi/pulumi#1282](https://github.com/pulumi/pulumi/pull/1282): Add static entries for Pulumi backends to /etc/hosts
- [pulumi/pulumi#1281](https://github.com/pulumi/pulumi/pull/1281): Use glog instead of printf
- [pulumi/pulumi#1277](https://github.com/pulumi/pulumi/pull/1277): "Pass ""special"" properties to `Invoke`."
- [pulumi/pulumi#1275](https://github.com/pulumi/pulumi/pull/1275): Add a URL column to `stack ls`.
- [pulumi/pulumi#1274](https://github.com/pulumi/pulumi/pull/1274): Minor CLI improvements
- [pulumi/pulumi#1273](https://github.com/pulumi/pulumi/pull/1273): Snapshot management overhaul and refactor
- [pulumi/pulumi#1271](https://github.com/pulumi/pulumi/pull/1271): Remove some obsolete flags from `pulumi config rm`
- [pulumi/pulumi#1267](https://github.com/pulumi/pulumi/pull/1267): Fix python package versions
- [pulumi/pulumi#1266](https://github.com/pulumi/pulumi/pull/1266): Require a resource's parent to actually be a resource.
- [pulumi/pulumi#1264](https://github.com/pulumi/pulumi/pull/1264): Fix update permalink for stacks on new identity model
- [pulumi/pulumi#1262](https://github.com/pulumi/pulumi/pull/1262): Add a hidden --no-interactive flag so that we can reduce interactive noise when running jenkins.
- [pulumi/pulumi#1261](https://github.com/pulumi/pulumi/pull/1261): Work around issue #1251.
- [pulumi/pulumi#1260](https://github.com/pulumi/pulumi/pull/1260): Add a new tree-view form for the progress view.
- [pulumi/pulumi#1254](https://github.com/pulumi/pulumi/pull/1254): Re-introduce interface for snapshot management
- [pulumi/pulumi-aws#205](https://github.com/pulumi/pulumi-aws/pull/205): Revert 2 PRs
- [pulumi/pulumi-aws#204](https://github.com/pulumi/pulumi-aws/pull/204): Enable tracing for integration tests.
- [pulumi/pulumi-aws#203](https://github.com/pulumi/pulumi-aws/pull/203): Make 'Function' a generic type
- [pulumi/pulumi-aws#202](https://github.com/pulumi/pulumi-aws/pull/202): Make serverless/function into a subclass of lambda/function.
- [pulumi/pulumi-cloud#480](https://github.com/pulumi/pulumi-cloud/pull/480): Fix package publishing
- [pulumi/pulumi-cloud#478](https://github.com/pulumi/pulumi-cloud/pull/478): Remove aws-infra from pulumi-cloud.
- [pulumi/pulumi-cloud#477](https://github.com/pulumi/pulumi-cloud/pull/477): Use interface in place of class.
- [pulumi/pulumi-cloud#474](https://github.com/pulumi/pulumi-cloud/pull/474): Remove LogCollector and onError
- [pulumi/pulumi-cloud#473](https://github.com/pulumi/pulumi-cloud/pull/473): Enable tracing for integration tests.
- [pulumi/pulumi-cloud#472](https://github.com/pulumi/pulumi-cloud/pull/472): Extract 'aws-infra' types into their own package independent of cloud-aws
- [pulumi/pulumi-cloud#470](https://github.com/pulumi/pulumi-cloud/pull/470): Allow paging in Table.scan.
- [pulumi/pulumi-cloud#469](https://github.com/pulumi/pulumi-cloud/pull/469): Use newer way of naming configuration
- [pulumi/pulumi-cloud#467](https://github.com/pulumi/pulumi-cloud/pull/467): Don't yarn link @pulumi dependencies
- [pulumi/pulumi-cloud#465](https://github.com/pulumi/pulumi-cloud/pull/465): Expose a 'defaultEndpoint' off of a Service to make consumption easier.
- [pulumi/pulumi-cloud#464](https://github.com/pulumi/pulumi-cloud/pull/464): Pass `hostPort` explicitly in container definitions

## v0.12.0 {#v120}

Released on April 26, 2018
Expand Down
9 changes: 4 additions & 5 deletions install/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Installation and Setup"
installer_version: "0.12.0"
installer_version: "0.12.1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment about this page: The "The current SDK version is XX" should probably come between the Installation and Setup and Mac and Linux Easy Install header. It links to the changelog which is interesting no matter how you are installing the product.

---

<!--
Expand All @@ -9,6 +9,8 @@ NOTE: To update this page with a new binary release, do the following:
- Update changelog.md with the latest fixes in the release
-->

The current Pulumi SDK version is <a href="./changelog.html#{{ page.installer_version }}">{{ page.installer_version }}</a>. For older SDK versions, please see <a href="./changelog.html#all-versions">Previous SDK Versions</a>.

## Mac and Linux easy install

Run the following command to install the latest version of Pulumi.
Expand All @@ -21,8 +23,6 @@ After running this command, Pulumi is installed, and you can skip the rest of th

## Pulumi SDK

The current SDK version is <a href="./changelog.html#{{ page.installer_version }}">{{ page.installer_version }}</a>.

<div class="card-table">
<div class="mdl-card mdl-shadow--2dp">
<div class="mdl-card__title">
Expand Down Expand Up @@ -97,7 +97,6 @@ The current SDK version is <a href="./changelog.html#{{ page.installer_version }
</div>
</div>

For older SDK versions, please see <a href="./changelog.html#all-versions">Previous SDK Versions</a>.

## Installation instructions {#instructions}

Expand Down Expand Up @@ -171,7 +170,7 @@ v{{page.installer_version}}
## Configure provider credentials

Configure the credentials for your cloud provider of choice:
- [Configure Pulumi for AWS](./aws-config.html)
- [Configure Pulumi for AWS](./aws.html)
- Configure Pulumi for Azure
- Configure Pulumi for Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion latest-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.0
0.12.1
16 changes: 7 additions & 9 deletions quickstart/aws-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,17 @@ In this tutorial, we'll show how to create a simple REST API that counts the num
// Create an API endpoint
let endpoint = new cloud.HttpEndpoint("hello-world");

endpoint.get("/{route+}", (req, res) => {
endpoint.get("/{route+}", async (req, res) => {
let route = req.params["route"];
console.log(`Getting count for '${route}'`);

// get previous value and increment
let count;
return counterTable.get({route}).then(value => {
count = (value && value.count) || 0;
return counterTable.insert( { route, count: ++count });
}).then(() => {
res.status(200).json({ route, count});
console.log(`Got count ${count} for '${route}'`);
});
let value = await counterTable.get({ route }); // reference outer `counterTable` object
let count = (value && value.count) || 0;
await counterTable.insert( { route, count: ++count });

res.status(200).json({ route, count });
console.log(`Got count ${count} for '${route}'`);
});

module.exports.endpoint = endpoint.publish().url;
Expand Down