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

    busy-umbrella-36067

    12/08/2019, 6:20 PM
    Is there any way to add arbitrary pod labels when using k8s crosswalk
    PodBuilder
    ? From what I can see, it automatically adds an
    app
    label based off
    image
    or
    name
    but there’s no way to add user defined labels
    g
    • 2
    • 1
  • r

    rhythmic-hair-33677

    12/08/2019, 10:52 PM
    Is it possible to wait for or otherwise query a
    k8s.apiextensions.CustomResource
    or
    k8s.yaml.ConfigFile
    to succeed? I see there is an issue tracking to make it type safe. Pulumi applies the resource fine, but I need to then check to make sure it didn’t fail. I see pulumi query, but that doesn’t appear to work with pulumi up.
    g
    • 2
    • 16
  • a

    adamant-postman-86832

    12/09/2019, 2:44 PM
    Is there a way to retreive VM sizes in azure the same way you can query all azure locations (using azure.locations.<locationname>) ? now you have to specify const nodeSize = “Standard_D2_v2” as a string...
    t
    • 2
    • 2
  • e

    elegant-twilight-2745

    12/09/2019, 4:14 PM
    So pulumi does not need tfState files like Terraform? Then how does it manage resources?
    m
    b
    • 3
    • 3
  • a

    astonishing-cartoon-37000

    12/09/2019, 5:17 PM
    Is there any progress on this issue? it's blocking all deployments for us. <https://github.com/pulumi/pulumi-aws/issues/821> I can give more detail if this PR isn't explicit enough @microscopic-florist-22719 looked at this 4 days ago. Curious if any insight was gained or even a workaround. <https://pulumi-community.slack.com/archives/C84L4E3N1/p1575580948064900>
    g
    b
    +2
    • 5
    • 16
  • l

    little-energy-64187

    12/09/2019, 7:22 PM
    Any tips on running
    PULUMI_EXPERIMENTAL=true pulumi query
    ? I am getting
    Error: Program run without the Pulumi engine available; re-run using the pulumi CLI
    w
    • 2
    • 1
  • a

    ambitious-helmet-24352

    12/09/2019, 7:57 PM
    hey it seems that --name doesnt exist with respect to helm install command that pulumi runs
  • a

    ambitious-helmet-24352

    12/09/2019, 7:58 PM
    for example this is the error I get
    Error: Command failed: helm template /var/folders/2y/61j5tzdd56l8wffgn3ydkf6m0000gp/T/tmp-42616Qai9xo75SzPT/goldilocks --name goldilocks --values /var/folders/2y/61j5tzdd56l8wffgn3ydkf6m0000gp/T/tmp-42616Qai9xo75SzPT/goldilocks/values.yaml --values /var/folders/2y/61j5tzdd56l8wffgn3ydkf6m0000gp/T/tmp-42616JZAjZL6MKzh7.yaml --namespace goldilocks
        Error: unknown flag: --name
    g
    • 2
    • 2
  • a

    ambitious-helmet-24352

    12/09/2019, 7:58 PM
    --name doesn’t exist inside version 3
  • b

    busy-umbrella-36067

    12/09/2019, 8:03 PM
    You're probably running helm 3, I think only helm 2 is supported right now Looks like the k8s package needs to be updated for
    helm3
    support
    w
    a
    • 3
    • 3
  • a

    ambitious-helmet-24352

    12/09/2019, 8:25 PM
    @busy-umbrella-36067 yeah I went down a version
  • h

    handsome-truck-95168

    12/09/2019, 9:24 PM
    I'm using pulumi on AWS with TypeScript. I have an existing codebuild job that does some stuff. Ultimately, it uploads artifacts to S3. I'd like to launch that job during deployment using resources (domain names) that have been created/updated. Further, I'd like to use the artifacts produced by the job when creating a CloudFront distribution. Any suggestions on how to launch & obtain results from a codebuild job from a pulumi program?
    a
    b
    • 3
    • 9
  • c

    colossal-tent-75408

    12/09/2019, 11:39 PM
    Hey all. I'm trying to work out the best way to carry out a particular use case. I would like to have a single AWS ALB, and then deploy each project independently. Core Infra • create ALB * • create listeners for http and https * per project / services • add a certificate to https listener per service • create target groups per service • create listener rules per service • create Fargate services Any guidance would be much appreciated
    r
    b
    s
    • 4
    • 14
  • b

    bored-jackal-93148

    12/10/2019, 12:49 AM
    I’ve been looking around (in the examples and in the code) for a way to assign a custom url and certificate to an aws api gateway instance. I’m guessing I’m looking in the wrong place, but I’m not sure where the right pace is.
    w
    • 2
    • 2
  • f

    fresh-flag-12765

    12/10/2019, 2:12 AM
    Is it possible that doing
    pulumi up --skip-preview
    can completely bork the entire state if the up manages to fail?
    w
    • 2
    • 8
  • r

    red-football-97286

    12/10/2019, 11:38 AM
    Hi, is there a way with python and aws, to create two vpc's in different regions? Or do I need to create separate stacks to do this?
    b
    • 2
    • 11
  • c

    crooked-raincoat-45073

    12/10/2019, 2:00 PM
    hello, I was wondering if it is possible to bridge the TF provider <https://github.com/mumoshu/terraform-provider-helmfile> to Pulumi. Alternatively it might make more sense to take the values from a helmfile.yaml and apply them to pulumi helm, replecating the helmfile functionaliy with pulumi. It wouldn't be the same but it would be good enough to work
  • c

    crooked-raincoat-45073

    12/10/2019, 2:03 PM
    What do you think? do the helmfile concepts (https://github.com/roboll/helmfile#highlights) make sense in a Pulumi/Helm setup?
    s
    • 2
    • 1
  • b

    big-potato-91793

    12/10/2019, 2:51 PM
    Hey 🙂 !!! Quick question, it’s possible and simple to create an pulumi provider? What is the recommand way?
    q
    • 2
    • 1
  • r

    red-football-97286

    12/10/2019, 4:26 PM
    Can you run stacks sequential? So if I build a VPC in one stack, the second stack adds EC2's and so on. Don't really want one large
    ___main___.py
    file.
    b
    • 2
    • 3
  • a

    ambitious-kilobyte-23135

    12/10/2019, 9:04 PM
    i hope everyone accepts the fact eventually AWS Lambda will be stateful and will run webassembly, and we won't need containers, so we won't need container orchestration ad nauseum, so we won't need kubernetes, so we should probably focus on serverless, it's gonna win the war
    🤣 1
  • a

    ambitious-kilobyte-23135

    12/10/2019, 9:04 PM
    k8s is a ton of extra work, just to run one process in a container
  • a

    ambitious-kilobyte-23135

    12/10/2019, 9:07 PM
    just my opinion, but it feels like we're wasting hundreds of years collectively, to repeat the same work across many organizations, and containers are a huge waste of money and add a ton of pollution to the environment
    b
    r
    • 3
    • 2
  • c

    creamy-potato-29402

    12/10/2019, 9:07 PM
    For the sake of those of us with alertwords for those technologies, can we please not discuss this in #general ? 🙂
  • c

    creamy-potato-29402

    12/10/2019, 9:07 PM
    When I get alerts for those words, it usually means someone is in pain and I try to help.
  • a

    ambitious-kilobyte-23135

    12/10/2019, 9:07 PM
    sure, sorry
  • a

    astonishing-cartoon-37000

    12/10/2019, 9:14 PM
    This may be something dumb on my end, but I have been debugging this for a little while now and am quite frustrated. If someone has suggestions it would be greatly appreciated. When I run pulumi preview locally in a project everything is dandy. However when I run in CI i'm getting
    Diagnostics:
      pulumi:pulumi:Stack (xxxxx-staging):
        error: an unhandled error occurred: Program exited with non-zero exit code: -1
    I'll thread the verbose logs.
    w
    • 2
    • 13
  • r

    rhythmic-hair-33677

    12/10/2019, 9:18 PM
    How are people adding custom checks into their pulumi programs. For instance after deploying a k8s resource that has a CRD.
  • b

    busy-umbrella-36067

    12/10/2019, 9:20 PM
    Is there a CLI flag to delete protected resources?
    👍 1
    w
    • 2
    • 3
  • r

    rhythmic-hair-33677

    12/10/2019, 9:22 PM
    As an example, if I deploy a CertificateRequest resource, and I need to watch that a Certificate is created by the k8s operator. As everything is promise-like, I'm not entirely sure how to do that beyond making a dummy resource with CRUD that performs those validations and then having other objects dependsOn that. If that makes sense.
    w
    • 2
    • 2
Powered by Linen
Title
r

rhythmic-hair-33677

12/10/2019, 9:22 PM
As an example, if I deploy a CertificateRequest resource, and I need to watch that a Certificate is created by the k8s operator. As everything is promise-like, I'm not entirely sure how to do that beyond making a dummy resource with CRUD that performs those validations and then having other objects dependsOn that. If that makes sense.
w

white-balloon-205

12/10/2019, 9:31 PM
One approach to this is something like https://gist.github.com/lukehoban/fd0355ed5b82386bd89c0ffe2a3c916a.
r

rhythmic-hair-33677

12/10/2019, 9:50 PM
Oh that is clever. That looks like what I need. So essentially put additional await logic in apply and then depend on its result. Thank you.
View count: 1