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
general
  • g

    green-school-95910

    05/14/2020, 6:19 PM
    I would love to only use Pulumi and never look at tf again, sadly I'll have to wait until we have the time budget to finish migrating everything.
  • b

    best-lifeguard-91445

    05/14/2020, 6:22 PM
    How do you update/change the pulumi stack password?
    w
    • 2
    • 2
  • f

    famous-jelly-72366

    05/14/2020, 6:24 PM
    fwiw, I just starting using sops for secrets handling .. so I'm storing the pulumi config secret in sops along with azure creds
  • f

    famous-jelly-72366

    05/14/2020, 7:01 PM
    btw. I had an issue on azure with aks node pool tags ... I had defined tags with CamelCase keys, but pulumi read them as lowercase from state, so kept insisting on having to update ... guess it must be a bug in the azure provider ... anyway I solved it by forcing tag keys to lowecase for that resource
  • f

    famous-jelly-72366

    05/14/2020, 7:02 PM
    just starting out with AKS
  • c

    cold-motherboard-287

    05/14/2020, 7:35 PM
    so AWS did same as Pulumi? https://siliconangle.com/2020/05/13/aws-open-sources-cdk8s-make-kubernetes-easier-use/
    g
    r
    +2
    • 5
    • 9
  • b

    best-lifeguard-91445

    05/14/2020, 11:24 PM
    I'm getting an error deploying a change after a failure - any ideas?:
    ..xxxx is in ROLLBACK_COMPLETE state and can not be updated.
    i
    • 2
    • 5
  • i

    icy-jordan-58549

    05/14/2020, 11:38 PM
    @gorgeous-egg-16927 do you have any ETA when https://github.com/pulumi/pulumi-kubernetesx will come out from
    development
    , the repo looks like abandoned, last update in April. Thanks
    g
    • 2
    • 2
  • k

    kind-mechanic-53546

    05/15/2020, 7:03 AM
    is it possible to take the output from one stack and use it in
    pulumi.runtime.registerStackTransformation
    ? I want to set common tags for a group of stacks but when I do
    pulumi.all
    on the output values (which are
    OutputInstance<any>
    ), the tags do not get applied, whereas if I use values from config or literals, it works fine
  • a

    abundant-photographer-61227

    05/15/2020, 12:32 PM
    Hello guys, I git cloned repo
    b
    • 2
    • 8
  • a

    abundant-photographer-61227

    05/15/2020, 12:32 PM
    https://github.com/mapbox/asset-tracking
  • a

    abundant-photographer-61227

    05/15/2020, 12:33 PM
    and after
    pulumi up
  • a

    abundant-photographer-61227

    05/15/2020, 12:33 PM
    it's still loading ...
  • a

    abundant-photographer-61227

    05/15/2020, 12:33 PM
    create...
  • a

    abundant-photographer-61227

    05/15/2020, 12:34 PM
    pulumi.mov
    b
    r
    • 3
    • 5
  • a

    abundant-photographer-61227

    05/15/2020, 12:34 PM
    can anybody help @here ?
  • r

    rich-easter-89163

    05/15/2020, 6:29 PM
    I have issues with my billing on pulumi, where I can request support? I'm unable to find something on console
    g
    • 2
    • 1
  • b

    breezy-hamburger-69619

    05/15/2020, 8:07 PM
    https://pulumi-community.slack.com/archives/C0110AVM89Z/p1589573192033700
    👍 1
  • b

    best-lifeguard-91445

    05/15/2020, 10:22 PM
    Can you create EC2 key/pairs within pulumi? or must they be created in the AWS console, and attached by name?
    f
    • 2
    • 4
  • b

    best-lifeguard-91445

    05/16/2020, 2:08 AM
    My subnet has been deleting for ~10 minutes now -- is there somewhere to get more visibility into why it's taking so long?
    k
    • 2
    • 5
  • g

    green-morning-1318

    05/17/2020, 1:56 AM
    Not sure who built this, but it seems kinda cool... a VPC generator that generates Pulumi code https://houqp.github.io/vpcstudio/
    👍 2
  • i

    incalculable-whale-36468

    05/17/2020, 10:49 AM
    Is there an equivalent to ``Config.get`` but for a
    require_object
    ?
  • p

    polite-motherboard-78438

    05/17/2020, 11:33 AM
    These Output<T> stuff is one of the most frustrating experiences I have with Pulumi. For example:
    const sshKey = config.requireSecret("admin_pub_key");
    const userData = `
    #cloud-config
    users:
      - name: ${adminUser}
        ssh-authorized-keys:
          - ${sshKey}
        sudo: ['ALL=(ALL) NOPASSWD:ALL']
        groups: sudo
        shell: /bin/bash
    `;
    It complains that it cant call toString on an Output<T> object on the "sshKey" variable. I just want get the string value from the secret. As simple as that! Note that in this example I am already inside a string literal. I have tried to create a new variable, following the instructions of using pulumi interpolate, but get the same message. If someone can enlighten me on this, I would be greatfull.
  • r

    rhythmic-camera-25993

    05/17/2020, 4:43 PM
    const userData = sshKey.apply(key => `
    #cloud-config
    users:
      - name: ${adminUser}
        ssh-authorized-keys:
          - ${sshKey}
        sudo: ['ALL=(ALL) NOPASSWD:ALL']
        groups: sudo
        shell: /bin/bash
    `);
  • r

    rhythmic-camera-25993

    05/17/2020, 4:45 PM
    think of Output<t> like a promise. you can't directly get the value out of a promise, you have to get it via
    await
    or via
    .then(x => ...)
  • r

    rhythmic-camera-25993

    05/17/2020, 4:45 PM
    apply
    is like
    then
    for a promise
    👍 1
  • f

    full-dress-10026

    05/17/2020, 9:51 PM
    Does anyone know if it's possible to create a
    awsx.cloudwatch.SingleNumberMetricWidget
    with the period set to the duration of the cloudwatch dashboard window you're looking at? Without that, statistics seem a bit silly on the dashboard.
    • 1
    • 4
  • l

    limited-rainbow-51650

    05/18/2020, 9:00 AM
    Has anyone used the Pulumi Github provider to create repositories? I can’t seem to find how to set the user or organization to create the repo in. https://www.pulumi.com/docs/reference/pkg/github/repository/
    b
    • 2
    • 8
  • s

    some-chef-79525

    05/18/2020, 1:31 PM
    Hi all, I need to deploy resources to multiple regions. Is this better achieved using multiple stacks, or is this something I could somehow use a ResourceProvider to achieve?
  • s

    some-chef-79525

    05/18/2020, 1:32 PM
    I've read the docs, but I'm a bit green at this tool and I feel I'm missing something when it comes to how ResourceProvider is meant to be used.
    f
    b
    • 3
    • 7
Powered by Linen
Title
s

some-chef-79525

05/18/2020, 1:32 PM
I've read the docs, but I'm a bit green at this tool and I feel I'm missing something when it comes to how ResourceProvider is meant to be used.
f

future-barista-68134

05/18/2020, 1:34 PM
Yes you can use explicitly defined provider. In your case, as many as there are regions you want to deploy to 🙂 See documentation here for example: https://www.pulumi.com/docs/intro/concepts/programming-model/#explicit-provider-configuration
s

some-chef-79525

05/18/2020, 1:47 PM
Ah! I missed this. Thanks 👍
Lemme give it a try and see how I go 😄
b

broad-dog-22463

05/18/2020, 2:14 PM
@some-chef-79525 I can give you an AWS sample that shows this
https://www.pulumi.com/blog/controlling-aws-costs-with-lambda-and-pulumi/#deploying-to-multiple-regions
s

some-chef-79525

05/18/2020, 3:01 PM
@broad-dog-22463 That's perfect, thanks a lot for the link 👍
b

broad-dog-22463

05/18/2020, 3:02 PM
Hope it's useful - let me know if you need something
View count: 1