https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
install
  • g

    gentle-notebook-84651

    11/21/2018, 2:35 PM
    Hello there
  • g

    gentle-notebook-84651

    11/21/2018, 2:35 PM
    I am new to pulumi
  • g

    gentle-notebook-84651

    11/21/2018, 2:36 PM
    and I am trying to run through the getting started project
  • g

    gentle-notebook-84651

    11/21/2018, 2:36 PM
    https://pulumi.io/quickstart/aws/tutorial-rest-api.html
  • g

    gentle-notebook-84651

    11/21/2018, 2:36 PM
    There seems to be a missing dependency ...
  • g

    gentle-notebook-84651

    11/21/2018, 2:36 PM
    Diagnostics:
      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
    b
    • 2
    • 5
  • g

    gentle-notebook-84651

    11/21/2018, 2:39 PM
  • c

    careful-van-85195

    12/21/2018, 4:20 AM
    I've begun working on a Bash shell script to install and setup pre-requisites on a new Mac.
  • c

    careful-van-85195

    12/21/2018, 4:21 AM
    That would include Xcode-CLI, Homebrew, git, vscode, AWS CLI, Azure CLI, Google CLI, Docker.
  • c

    careful-van-85195

    12/21/2018, 6:21 AM
    https://github.com/wilsonmar/DevSecOps/blob/master/Pulumi/pulumi-setup.sh
  • c

    careful-van-85195

    12/21/2018, 12:17 PM
    A description of it is at my blog about Pulumi at https://wilsonmar.github.io/pulumi/
  • c

    careful-van-85195

    12/21/2018, 12:18 PM
    All a work in progress, so if you have the time, let me know what I should change or add
  • a

    ambitious-camera-89602

    04/09/2019, 6:33 PM
    trying to follow the https://pulumi.io/quickstart/aws/tutorial-rest-api.html and am getting this error:
    Diagnostics:
      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)
  • a

    ambitious-camera-89602

    04/09/2019, 6:33 PM
    anyone know what is wrong?
  • a

    ambitious-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;
  • a

    ambitious-camera-89602

    04/09/2019, 6:33 PM
    seems to have an issue with the
    aws.apigateway.x.API
    section
  • w

    white-balloon-205

    04/09/2019, 6:35 PM
    That API had been deprecated for some time and was recently removed. It is now available at
    awsx.apigateway.API
    in the
    @pulumi/awsx
    package. We'll make sure to get that tutorial updated.
  • a

    ambitious-camera-89602

    04/09/2019, 6:37 PM
    that explains why I wouldn't find it in the apigateway docs
  • a

    ambitious-camera-89602

    04/09/2019, 6:40 PM
    I assume all of the aws tutorials will need to be updated then yeah?
  • b

    bored-cartoon-33302

    10/23/2019, 7:40 PM
    pulumi😛ulumi:Stack (pProto-dev): error: Failed to locate 'python3' on your PATH. Have you installed Python 3.6 or greater? Yes, 3.7.5
    w
    • 2
    • 1
  • b

    bored-cartoon-33302

    11/02/2019, 3:20 PM
    Unable to install pulumi using Windows PS, I decided to try Ubuntu: curl -fsSL https://get.pulumi.com | sh apt-get update python3 --version apt upgrade python --- b/c Ubuntu 16.04 $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt-get update $ sudo apt-get install python3.6 python3 --version Python 3.5.2
  • e

    elegant-twilight-2745

    11/22/2019, 4:58 PM
    pulumi config aws:profile <profilename> <--- where do I get this in AWS Console?
    g
    w
    • 3
    • 14
  • e

    elegant-twilight-2745

    11/22/2019, 6:53 PM
    crosswalk is only available as npm package and not in pip?
    g
    w
    • 3
    • 9
  • e

    elegant-twilight-2745

    11/25/2019, 1:12 PM
    Corporate Win 10 environment: pulumi up Error 401 authenticationrequired.html Authentication Required Last executed rule: Authentic user against Active Directory
    w
    • 2
    • 25
  • e

    elegant-twilight-2745

    11/27/2019, 10:32 AM
    But Aws seems to work: aws glue get-databases —profile saml Returns a whole bunch of JSON
  • e

    elegant-twilight-2745

    12/09/2019, 2:36 AM
    Could someone show why I am getting authorization failed after login to pulumi portal?
    w
    • 2
    • 2
  • e

    elegant-twilight-2745

    12/09/2019, 11:15 AM
    Is it a common corporate firewall issue?
  • g

    gentle-diamond-70147

    12/09/2019, 4:02 PM
    Can you try running with 
    --logtostderr -v=9
     and share the output of that command?
  • g

    gentle-diamond-70147

    12/09/2019, 4:03 PM
    Does your corporate network have a proxy in place?
  • e

    elegant-twilight-2745

    12/09/2019, 4:26 PM
    Highly likely as it is a major insurance healthcare provider
Powered by Linen
Title
e

elegant-twilight-2745

12/09/2019, 4:26 PM
Highly likely as it is a major insurance healthcare provider
View count: 1