https://pulumi.com logo
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
general
  • w

    worried-city-86458

    09/05/2019, 8:44 PM
    I eventually found the
    Dockerfile
    source (https://github.com/pulumi/pulumi/blob/master/dist/docker/Dockerfile) Always good to know how it was built, so it would be nice if it was linked to from https://hub.docker.com/r/pulumi/pulumi.
    ☝️ 2
    w
    • 2
    • 1
  • w

    worried-city-86458

    09/05/2019, 9:18 PM
    Another suggestion after first contact, change
    <http://get.pulumi.com|get.pulumi.com>
    to curl silently. 😛
    ...
    Step 4/5 : RUN curl -fsSL <https://get.pulumi.com> | bash -s -- --version $PULUMI_VERSION     && mv ~/.pulumi/bin/* /usr/local/bin     && pulumi version
     ---> Running in 8435a5532c49
    === Installing Pulumi v1.0.0 ===
    + Downloading <https://get.pulumi.com/releases/sdk/pulumi-v1.0.0-linux-x64.tar.gz>...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 46.3M  100 46.3M    0     0  29.2M      0  0:00:01  0:00:01 --:--:-- 29.2M
    + Extracting to /root/.pulumi/bin
    ...
  • w

    worried-city-86458

    09/05/2019, 9:19 PM
    Specifically to squash the "downloading" noise.
    t
    • 2
    • 3
  • w

    worried-city-86458

    09/06/2019, 12:24 AM
    I've created a docker image, with Pulumi and node, and am trying out the remote editing features of Visual Studio Code. Excuse the stupid question, but is there a way to "step debug" the code, starting from
    index.ts
    and following along?
    w
    • 2
    • 4
  • w

    wide-judge-30323

    09/06/2019, 3:48 AM
    Hi 🙂 I have an EKS cluster created with pulumi, with some services / helm charts applied, I'm seeing the follow weirdness: When a helm chart is applied fresh, it creates an ELB and adds its security group to the node security group, and all works as expected. On a subsequent pulumu run, it says it want to update the node security group, and removes the rule so that the ELB can no longer reach the cluster. This also happens with a
    Service
    created without helm. I've recently upgraded pulumi to 1.0 - This cluster has been running for some time, and updates have been ok till now - although we did experience a similar thing when pulumi updated the AMI for the EKS cluster. Has anyone else observed something similar?
    w
    • 2
    • 8
  • b

    best-xylophone-83824

    09/06/2019, 9:38 AM
    I dont know if it is GCP specific as we dont use other providers, but
    new gcp.Provider("name", {project: "another-project"})
    leaks ambient provider credentials into stack unencrypted
    b
    c
    • 3
    • 30
  • b

    best-xylophone-83824

    09/06/2019, 1:42 PM
    interface NodePoolNodeConfig {
            ...
            oauthScopes?: pulumi.Input<pulumi.Input<string>[]>;
    nested
    Input<>
    , is it a problem with code generation or like that by design?
    t
    • 2
    • 1
  • i

    icy-engineer-10830

    09/06/2019, 2:04 PM
    Is it possible to set Pulumi config variables via the command line tool? sort of like how the -var option is used in terraform
    t
    w
    • 3
    • 7
  • q

    quiet-wolf-18467

    09/06/2019, 3:28 PM
    Hey all. Has anyone used GCP's KMS for secret storage? I'm not sure I'm configuring it correctly, as it keeps asking me for an encryption password; which I don't expect (and no provider information stored in stack yml)
    w
    • 2
    • 38
  • i

    icy-engineer-10830

    09/06/2019, 3:34 PM
    Is the usage of Proximity Placement Groups for Azure Scale Sets in Pulumi dependent on the Terraform provider implementation?
    b
    • 2
    • 6
  • q

    quiet-wolf-18467

    09/06/2019, 3:51 PM
    Tried with AWS KMS too, same failure 😞
  • q

    quiet-wolf-18467

    09/06/2019, 4:15 PM
    I'll create an issue
  • i

    icy-engineer-10830

    09/06/2019, 4:40 PM
    this error is pretty vague, anyone have an idea of what's going on here or how I can debug?
    Created stack 'dev'
    Previewing update (dev):
         Type                 Name              Plan     Info
         pulumi:pulumi:Stack  azurenetwork-dev           1 message
     
    Diagnostics:
      pulumi:pulumi:Stack (azurenetwork-dev):
        error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
     
    error: failed to load language plugin nodejs: could not read plugin [/Users/jonbrwn/.pulumi/bin/pulumi-language-nodejs] stdout: EOF
    c
    b
    • 3
    • 15
  • i

    icy-engineer-10830

    09/06/2019, 4:41 PM
    the above is from running
    pulumi up
  • q

    quiet-wolf-18467

    09/06/2019, 4:42 PM
    Have you run npm install or yarn install?
  • q

    quiet-wolf-18467

    09/06/2019, 4:42 PM
    Doesn't seem that vague 🙂
  • b

    best-xylophone-83824

    09/06/2019, 5:37 PM
    should customTimeouts propagate from parent resource down? seems that it doesn't, at least not for the helm chart
    c
    g
    • 3
    • 6
  • q

    quiet-wolf-18467

    09/06/2019, 5:41 PM
    Anyone seen this before:
    Resources:
        ~ 1 updated
        1 unchanged
    
    Duration: 7s
    
    error: Could not get signed url for stack location: blob (code=Unknown): to use SignedURL, you must call OpenBucket with a valid Options.GoogleAccessID and exactly one of Options.PrivateKey or Options.SignBytes
  • c

    cool-egg-852

    09/06/2019, 7:45 PM
    Is there support for files other than
    values.yml
    for helm? As in, can Pulumi read from
    values.prod.yml
    for example?
    g
    c
    • 3
    • 7
  • b

    bitter-dentist-28132

    09/06/2019, 9:02 PM
    I've got a deployment, that contains a container spec, that contains an
    envFrom
    with a reference to a secret's name. and it seems that makes the entire container spec secret, which means i get an empty output for the diff, so i can't see the image change. any way around that? where's the demarcation of what's marked secret? if i were to pass a
    new k8stypes.core.v1.EnvFromSource
    to
    envFrom
    instead of an array of hashes, would that work?
    g
    b
    • 3
    • 17
  • e

    early-musician-41645

    09/06/2019, 9:59 PM
    When creating an FSx windows fileshare is this code expected? https://github.com/pulumi/pulumi-aws/blob/12e670b7058a95d189b26e09a2864e3d7c210466/sdk/nodejs/fsx/windowsFileSystem.ts#L343 Currently it's:
    /**
         * A list of IDs for the subnets that the file system will be accessible from. File systems support only one subnet. The file server is also launched in that subnet's Availability Zone.
         */
        readonly subnetIds: pulumi.Input<string>;
    Shouldn't the type be
    pulumi.Input<pulumi.Input<string>[]>
    ?
    w
    • 2
    • 6
  • c

    cool-egg-852

    09/06/2019, 11:59 PM
    Why does dependsOn not work for depending upon the completion of a helm chart?
    w
    b
    c
    • 4
    • 18
  • i

    icy-engineer-10830

    09/08/2019, 12:39 AM
    is there something I'm doing wrong for this
    const vmss = azure.compute.ScaleSet.get("id-of-my-resource")
    to fail with this error:
    Error: Missing required property 'networkProfiles'
            at new ScaleSet (/Users/jonbrwn/code/other/pulumi-azure-import-test/node_modules/@pulumi/compute/scaleSet.ts:424:23)
            at Function.get (/Users/jonbrwn/code/other/pulumi-azure-import-test/node_modules/@pulumi/compute/scaleSet.ts:259:16)
    when running
    pulumi up
    ?
    w
    • 2
    • 2
  • g

    glamorous-printer-14057

    09/08/2019, 2:09 AM
    hey all, I’m trying to adopt an existing AWS CloudFormation Stack resource into Pulumi, along the lines of https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/ - I wasn’t sure what ID I should use. I started with the
    arn:aws:cloudformation:...
    ID from the AWS console but that gives me a “resource does not exist” error. is there a different ID I should be using? how can I find this?
    w
    t
    • 3
    • 7
  • b

    bright-belgium-24194

    09/08/2019, 7:44 PM
    Hi, I'm trying to create a lambda function that needs to execute a binary file. How do I make sure that pulumi packages that binary file into my lambda function?
  • h

    hundreds-portugal-17080

    09/08/2019, 11:22 PM
    Untitled.txt
    c
    • 2
    • 8
  • w

    worried-city-86458

    09/09/2019, 5:43 AM
    I'm playing around with porting some code from Ansible to Pulumi. Am I missing something or is Pulumi config flat only? It would be great to have a config hierarchy with top-level defaults but allow for overrides per environment; otherwise I'll have to repeat the default config for every environment.
    👍 1
    b
    c
    • 3
    • 13
  • w

    worried-city-86458

    09/09/2019, 5:52 AM
    Looks like some config changes are coming soon (https://github.com/pulumi/pulumi/wiki/Roadmap#m27-september-2019) and hopefully some hierarchy changes will be considered too (https://github.com/pulumi/pulumi/issues/2307)
  • b

    big-nail-28315

    09/09/2019, 12:30 PM
    Hi! Is anyone out there building an Elastic Beanstalk stack with a Network Load Balancer? Is there away to get the load balancer that is automatically created via Elastic Beanstalk to be managed by Pulumi? Ultimately, what I need to do is to pass the load balancer URN to a VPCLink, but I don’t actually have the auto-created load balancer URN at runtime.
    b
    • 2
    • 7
  • d

    damp-room-71337

    09/09/2019, 12:31 PM
    does anyone have any pointers on how to install the javascript
    @pulumi/terraform
    module from github, or how to build it from source? The Go build info in the readme isn’t getting me very far, and I’m not even sure it’s required
    s
    • 2
    • 6
Powered by Linen
Title
d

damp-room-71337

09/09/2019, 12:31 PM
does anyone have any pointers on how to install the javascript
@pulumi/terraform
module from github, or how to build it from source? The Go build info in the readme isn’t getting me very far, and I’m not even sure it’s required
s

stocky-island-3676

09/09/2019, 1:12 PM
I guess you mean this Github repo, right?: https://github.com/pulumi/pulumi-terraform That is no Javascript/Node module at all. Before going into details: What do you want to do?
d

damp-room-71337

09/09/2019, 1:14 PM
well it contains the node module https://github.com/pulumi/pulumi-terraform/tree/master/sdk/nodejs
I’m trying to use https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/terraform/state/#RemoteStateReference, but the current release only supports Terraform 0.12.0, and I need 0.12.6+ support
s

stocky-island-3676

09/09/2019, 1:21 PM
You’re right. Didn’t know about that one, yet. Then, sorry about my misinformation.
@damp-room-71337 You could use the
dev
tag or pinpoint to a specific
dev
version, e.g. latest is
0.18.4-dev.1568027942
https://www.npmjs.com/package/@pulumi/terraform?activeTab=versions This unreleased version
0.18.4
should be able to do what you want:
RemoteStateReference
resources can now read states created with Terraform 0.12.6 and below.
https://github.com/pulumi/pulumi-terraform/blob/master/CHANGELOG.md#v0184-unreleased
d

damp-room-71337

09/09/2019, 1:28 PM
ah, cheers! Hadn’t seen the unreleased versions in npm
View count: 1