gentle-notebook-84651
11/21/2018, 2:35 PMgentle-notebook-84651
11/21/2018, 2:35 PMgentle-notebook-84651
11/21/2018, 2:36 PMgentle-notebook-84651
11/21/2018, 2:36 PMgentle-notebook-84651
11/21/2018, 2:36 PMgentle-notebook-84651
11/21/2018, 2:36 PMDiagnostics:
pulumi:providers:aws (default):
error: no resource plugin 'aws-v0.16.3-dev.1542649495' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v0.16.3-dev.1542649495`
error: an error occurred while advancing the preview
[root@e58994d38ac1 pulumi]# pulumi plugin install resource aws v0.16.3-dev.1542649495
[resource plugin aws-0.16.3-dev.1542649495] installing
error: [resource plugin aws-0.16.3-dev.1542649495] downloading from <https://api.pulumi.com>: failed to download plugin: [404] 404 page not found
gentle-notebook-84651
11/21/2018, 2:39 PMcareful-van-85195
12/21/2018, 4:20 AMcareful-van-85195
12/21/2018, 4:21 AMcareful-van-85195
12/21/2018, 6:21 AMcareful-van-85195
12/21/2018, 12:17 PMcareful-van-85195
12/21/2018, 12:18 PMambitious-camera-89602
04/09/2019, 6:33 PMDiagnostics:
pulumi:pulumi:Stack (ahoy-pulumi-lab):
error: Running program '/Users/chris_wiggins/dev/src/pulumi-test/ahoy-pulumi' failed with an unhandled exception:
TypeError: Cannot read property 'API' of undefined
at Object.<anonymous> (/Users/chris_wiggins/dev/src/pulumi-test/ahoy-pulumi/index.js:5:39)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
at Function.Module._load (internal/modules/cjs/loader.js:558:3)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at runtime.runInPulumiStack (/Users/chris_wiggins/dev/src/pulumi-test/ahoy-pulumi/node_modules/@pulumi/pulumi/cmd/run/run.js:195:20)
at Stack.<anonymous> (/Users/chris_wiggins/dev/src/pulumi-test/ahoy-pulumi/node_modules/@pulumi/pulumi/runtime/stack.js:71:27)
ambitious-camera-89602
04/09/2019, 6:33 PMambitious-camera-89602
04/09/2019, 6:33 PM$ cat index.js
// Import the [pulumi/aws](<https://pulumi.io/reference/pkg/nodejs/@pulumi/aws/index.html>) package
const aws = require("@pulumi/aws");
// Create a public HTTP endpoint (using AWS APIGateway)
const endpoint = new aws.apigateway.x.API("hello", {
routes: [
// Serve static files from the `www` folder (using AWS S3)
{
path: "/",
localPath: "www",
},
// Serve a simple REST API on `GET /name` (using AWS Lambda)
{
path: "/source",
method: "GET",
eventHandler: (req, ctx, cb) => {
cb(undefined, {
statusCode: 200,
body: Buffer.from(JSON.stringify({ name: "AWS" }), "utf8").toString("base64"),
isBase64Encoded: true,
headers: { "content-type": "application/json" },
});
},
},
],
});
// Export the public URL for the HTTP service
exports.url = endpoint.url;
ambitious-camera-89602
04/09/2019, 6:33 PMaws.apigateway.x.API
sectionwhite-balloon-205
awsx.apigateway.API
in the @pulumi/awsx
package. We'll make sure to get that tutorial updated.ambitious-camera-89602
04/09/2019, 6:37 PMambitious-camera-89602
04/09/2019, 6:40 PMbored-cartoon-33302
10/23/2019, 7:40 PMbored-cartoon-33302
11/02/2019, 3:20 PMelegant-twilight-2745
11/22/2019, 4:58 PMelegant-twilight-2745
11/22/2019, 6:53 PMelegant-twilight-2745
11/25/2019, 1:12 PMelegant-twilight-2745
11/27/2019, 10:32 AMelegant-twilight-2745
12/09/2019, 2:36 AMelegant-twilight-2745
12/09/2019, 11:15 AMgentle-diamond-70147
12/09/2019, 4:02 PM--logtostderr -v=9
and share the output of that command?gentle-diamond-70147
12/09/2019, 4:03 PMelegant-twilight-2745
12/09/2019, 4:26 PM