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
  • b

    better-rainbow-14549

    08/08/2019, 12:59 PM
    i'm not sure tbh - i believe there's a kube way of creating a context which can specify a namespace and if so, i think the pulumi provider probably supports that too but i've not looked
  • d

    damp-room-71337

    08/08/2019, 1:00 PM
    yep: https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/nodejs/provider.ts#L14
  • d

    damp-room-71337

    08/08/2019, 1:00 PM
    ok, thanks!
  • b

    better-rainbow-14549

    08/08/2019, 1:00 PM
    ah neat
  • h

    high-translator-22614

    08/08/2019, 5:30 PM
    ok, today's github action's announcement is pretty exciting for pulumi users. Watch for the rollout in the next few weeks.
    😛artypus: 1
    h
    m
    b
    • 4
    • 9
  • c

    curved-megabyte-91197

    08/08/2019, 5:50 PM
    Hi all, is there any good workflow for local development of http lambda functions? Similar to what
    serverless-offline
    offers? I'm new to Pulumi and excited to work on this!!
  • h

    high-translator-22614

    08/08/2019, 5:52 PM
    js, python, or go?
  • c

    curved-megabyte-91197

    08/08/2019, 5:52 PM
    typescript
  • h

    high-translator-22614

    08/08/2019, 5:53 PM
    then you want to look at pulumi-awsx and pulumi-cloud
  • h

    high-translator-22614

    08/08/2019, 5:53 PM
    oh, local?
  • h

    high-translator-22614

    08/08/2019, 5:53 PM
    i handled this by writing a bunch of code to let it select between live and localstack providers
  • h

    high-translator-22614

    08/08/2019, 5:55 PM
    no, i'm not aware of any pulumi-native stuff for local testing
    👍 1
  • b

    billowy-laptop-45963

    08/08/2019, 6:28 PM
    pulumi up does not seem to be picking up my tsconfig.json paths. I also have ts-mocha setup and it picks up the paths. Is there something special I have to do?
    w
    • 2
    • 8
  • b

    best-xylophone-83824

    08/08/2019, 6:37 PM
    @billowy-laptop-45963, do you write tests for your pulumi code? How is your experience, does it worth the effort?
  • b

    billowy-laptop-45963

    08/08/2019, 6:42 PM
    @best-xylophone-83824 I don't actually use pulumi. I'm just playing around with it. Normally we use automated testing so I was curious what are the options for pulumi/typescript.
  • b

    broad-dog-22463

    08/08/2019, 6:45 PM
    There’s a great blog post on our Pulumi blog about a good way to test
    ❤️ 3
  • b

    broad-dog-22463

    08/08/2019, 6:45 PM
    I can link
  • b

    broad-dog-22463

    08/08/2019, 6:46 PM
    https://www.pulumi.com/blog/unit-testing-infrastructure-in-nodejs-and-mocha/
  • l

    limited-rainbow-51650

    08/08/2019, 10:25 PM
    Life is nice with Pulumi! 😉 /cc @broad-dog-22463
    😀 5
    😛artypus: 1
    ❤️ 2
    b
    • 2
    • 2
  • o

    orange-tailor-85423

    08/08/2019, 10:33 PM
    Anybody else tackled roleMappings for EKS clusters and passing in dynamically retrieved objects such as roleARNs? Right now I’m passing them from an iam stack as outputs then retrieved for roleMappings via
    .getOutput('roles').apply(etc etc)
    . But part of me also wants the roleMappings to be a config block that passes into the cluster creation. How are most of y’all doing this?
    b
    • 2
    • 2
  • w

    worried-engineer-33884

    08/08/2019, 11:11 PM
    How are pulumi security vulnerabilities announced?
    b
    • 2
    • 2
  • c

    cool-hair-35481

    08/08/2019, 11:55 PM
    Hello all. So I’m loving pulumi so far, but I can’t figure out the best way to deploy what should be fairly simple. I’m trying to deploy a few lambdas that make HTTP requests to a third party API. They are invoked directly by one of our microservices. There seems to be a few ways to do this, but the issue I was having is that I created an Object in TypeScript that had a few methods defined on it, and attempted to import it into the index.ts file. I was getting a lot of errors about serialization, etc. so I tried importing the code inside the closure of the function but still no luck. Does anyone know of a working example that demonstrates something like this? Thanks.
  • w

    white-balloon-205

    08/08/2019, 11:58 PM
    Quick note that we just posted an update to https://pulumi.statuspage.io/ about an increased error rate we're currently seeing impacting a small number of users. We are investigating.
    🙏 1
    b
    • 2
    • 2
  • b

    best-xylophone-83824

    08/09/2019, 8:23 AM
    why secret doesn't deserve it's own type? knowing which of pulumi.Output are secrets is hard sometimes
  • b

    best-xylophone-83824

    08/09/2019, 8:25 AM
    also resources would be able to declare some of their output as secrets by default and document it in APIdocs by using dedicated type for it, like https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/serviceaccount/#Key-privateKey
  • b

    best-xylophone-83824

    08/09/2019, 8:32 AM
    Did anybody start working on a gitlab-in-kubernetes pulumi module?
    h
    • 2
    • 2
  • b

    best-xylophone-83824

    08/09/2019, 8:53 AM
    Blog post idea: provide an example how to run pulumi with short lived key for it's service account (https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials)
  • g

    gray-lawyer-89054

    08/09/2019, 9:28 AM
    Hi, Recently I'm getting exceptions regarding empty resource ID. I can create resource but i can't recreate and destroy them. https://github.com/pulumi/pulumi/blob/master/pkg/resource/plugin/provider_plugin.go#L667 https://github.com/pulumi/pulumi/blob/master/pkg/resource/deploy/step.go#L248 I'm wondering if it can be caused by duplicated resource names. Anyone encounterd it? Thanks example message :
    panic: fatal: An assertion has failed
    
    goroutine 81 [running]:
    <http://github.com/pulumi/pulumi/pkg/util/contract.failfast(...)|github.com/pulumi/pulumi/pkg/util/contract.failfast(...)>
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/pkg/util/contract.Assert(...)|github.com/pulumi/pulumi/pkg/util/contract.Assert(...)>
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/util/contract/assert.go:26
    <http://github.com/pulumi/pulumi/pkg/resource/deploy.NewDeleteStep|github.com/pulumi/pulumi/pkg/resource/deploy.NewDeleteStep>(0xc001362180, 0xc0012a5800, 0xc0000c5300, 0x73)
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/deploy/step.go:237 +0x261
    <http://github.com/pulumi/pulumi/pkg/resource/deploy.(*stepGenerator).GenerateDeletes(0xc0003d30e0|github.com/pulumi/pulumi/pkg/resource/deploy.(*stepGenerator).GenerateDeletes(0xc0003d30e0>, 0xc00007cc00, 0x2, 0x0)
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/deploy/step_generator.go:539 +0x884
    <http://github.com/pulumi/pulumi/pkg/resource/deploy.(*planExecutor).Execute.func3(0xc001347980|github.com/pulumi/pulumi/pkg/resource/deploy.(*planExecutor).Execute.func3(0xc001347980>, 0xc0009dbba0, 0xc000c2e290, 0x18bfee0, 0xc000c32040, 0x18bfee0, 0xc000c32000, 0x10000, 0x1, 0xc0004e9c20)
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/deploy/plan_executor.go:155 +0x3d5
    <http://github.com/pulumi/pulumi/pkg/resource/deploy.(*planExecutor).Execute(0xc0009dbba0|github.com/pulumi/pulumi/pkg/resource/deploy.(*planExecutor).Execute(0xc0009dbba0>, 0x18bfee0, 0xc000c32000, 0x18c01e0, 0xc000391810, 0x7fffffff, 0x10000, 0xc0007f5f01, 0x0, 0x0)
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/deploy/plan_executor.go:192 +0x511
    <http://github.com/pulumi/pulumi/pkg/resource/deploy.(*Plan).Execute(...)|github.com/pulumi/pulumi/pkg/resource/deploy.(*Plan).Execute(...)>
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/resource/deploy/plan.go:330
    <http://github.com/pulumi/pulumi/pkg/engine.(*planResult).Walk.func1|github.com/pulumi/pulumi/pkg/engine.(*planResult).Walk.func1>(0x18c01e0, 0xc000391810, 0xc000391760, 0x18bfee0, 0xc000c32000, 0x14daf01, 0xc000c2e280, 0xc0013477a0)
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/engine/plan.go:195 +0x13b
    created by <http://github.com/pulumi/pulumi/pkg/engine.(*planResult).Walk|github.com/pulumi/pulumi/pkg/engine.(*planResult).Walk>
            /home/travis/gopath/src/github.com/pulumi/pulumi/pkg/engine/plan.go:186 +0x11b
    b
    b
    w
    • 4
    • 7
  • l

    little-energy-64187

    08/09/2019, 11:11 AM
    Hello, I am trying to import a cloudsql postgres instance on gcp. I am getting
    warning: inputs to import do not match the existing resource; importing this resource will fail
    but the details view doesn't highlight any difference. Does anyone know how to get a more verbose output and track down what my input is missing?
  • b

    bitter-island-28909

    08/09/2019, 1:18 PM
    Our Pulumi projects are growing at a fast clip. Thanks to the fact that it’s Just Code we can use abstractions and keep everything organized, but if we stay on our current pace the total number of resources is likely to reach the thousands, eventually. Does anyone have experience with stacks that big? Is this something we need to think about or can Pulumi handle this just fine?
Powered by Linen
Title
b

bitter-island-28909

08/09/2019, 1:18 PM
Our Pulumi projects are growing at a fast clip. Thanks to the fact that it’s Just Code we can use abstractions and keep everything organized, but if we stay on our current pace the total number of resources is likely to reach the thousands, eventually. Does anyone have experience with stacks that big? Is this something we need to think about or can Pulumi handle this just fine?
View count: 1