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

    quick-action-34599

    07/30/2020, 3:56 PM
    Is it not possible to add both a
    networkListener
    and an
    applicationListener
    to an
    awsx.ecs
    service? I have a rabbitmq instance that has both TCP networking and a hosted HTTP interface.
  • f

    famous-garage-15683

    07/30/2020, 4:32 PM
    I've got some code where I'm trying to get a load balancer I created in another project
  • f

    famous-garage-15683

    07/30/2020, 4:33 PM
    const loadBalancerId = infra.getOutput('albId');
    const underlyingAwsLoadBal = aws.lb.LoadBalancer.get('underlyingAwsAppLoadBal', loadBalancerId);
    const appLoadBal = new awsx.lb.ApplicationLoadBalancer('applicationLoadBalancer', {loadBalancer: underlyingAwsLoadBal, securityGroups: securityGroupIds});
    m
    b
    • 3
    • 5
  • f

    famous-garage-15683

    07/30/2020, 4:34 PM
    It's trying to create new resources and I have no idea where this might be coming from
  • f

    famous-garage-15683

    07/30/2020, 4:34 PM
    Type Name Plan pulumiπŸ˜›ulumi:Stack backend-prod + β”œβ”€ awsx: x:ec2:Vpc applicationLoadBalancer-vpc create + β”œβ”€ aws: lb:ApplicationLoadBalancer applicationLoadBalancer create + β”‚ └─ awsx: x:ec2:SecurityGroup applicationLoadBalancer-0 create + └─ awsx: x:ec2:Vpc default-vpc create + β”œβ”€ awsx: x:ec2:Subnet default-vpc-public-0 create + └─ awsx: x:ec2:Subnet default-vpc-public-1 create
  • f

    famous-garage-15683

    07/30/2020, 4:35 PM
    Does anyone have tips on how I might debug this? I'm fairly comfortable with TypeScript, but have never used Pulumi or Terraform before this
  • f

    famous-garage-15683

    07/30/2020, 5:11 PM
    Ah. I found the issue: https://github.com/pulumi/pulumi-awsx/issues/556
    f
    • 2
    • 11
  • c

    careful-engine-71229

    07/30/2020, 6:03 PM
    Any plans to add support for IBM cloud to pulumi?
    b
    • 2
    • 1
  • f

    famous-garage-15683

    07/30/2020, 8:42 PM
    Does anyone know how to convert
    Input<string[]>
    Β to anΒ 
    Input<string>[]
    ?
  • f

    famous-garage-15683

    07/30/2020, 9:08 PM
    It seems we can go the other direction with
    pulumi.all
    . I wonder if there is something that's opposite of that?
  • h

    hallowed-rain-9096

    07/30/2020, 10:56 PM
    not likely
  • h

    hallowed-rain-9096

    07/30/2020, 10:56 PM
    Output<string[]>
    can be passed as
    Input<string[]>
    IIUC, and you can't know the length of the array ahead of time
  • f

    famous-garage-15683

    07/31/2020, 12:10 AM
    So if you
    export
    an array of security group IDs, how do you do anything with it? You get an
    Output<string[]>
    when you call
    getOutput
    but none of the APIs seem able to handle that
    k
    • 2
    • 5
  • b

    bright-policeman-55860

    07/31/2020, 4:05 AM
    Any way to convert a list of Outputs into a comma separated string? This is needed sometimes for CloudFormation, for example.
    k
    • 2
    • 4
  • a

    astonishing-branch-30086

    07/31/2020, 4:50 AM
    I get
    error: could not load plugin for heroku provider
    when trying to run a pulumi preview on a stack set up by a colleague. The suggested command
    pulumi plugin install resource heroku v0.0.4
    returns
    error: [resource plugin heroku-0.0.4] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-heroku-v0.0.4-darwin-amd64.tar.gz>
    . Any ideas?
    l
    • 2
    • 3
  • l

    late-church-93869

    07/31/2020, 5:42 AM
    I just created a new GCP account and project. Tried following along the tutorial to get a google kubernetes engine cluster up https://www.pulumi.com/docs/tutorials/kubernetes/gke/ Pulumi seems to have gotten a 500 error from the GCP API:
    gcp:container:Cluster (helloworld):
        error: googleapi: Error 500: Internal error encountered., backendError
    anyone seen this issue before? Wondering if it has something to do with my account being new and still in free trial mode.
    e
    • 2
    • 2
  • b

    bumpy-river-47200

    07/31/2020, 9:11 AM
    Hi, looks like my stack is behaving weird and causing me grief for every β€œpulumi up” command in run with following error message:
    Do you want to perform this update? yes
    Updating (dev):
    …………………………………………………………………….
    pulumi:pulumi:StackReference (grst):
    error: post-step event returned an error: failed to save snapshot: .pulumi/stacks/dev.json: snapshot integrity failure; it was already written, but is invalid (backup available at .pulumi/stacks/dev.json.bak): child resource urn:pulumi:dev::xyz::pulumi:pulumi:StackReference::grst refers to missing parent urn:pulumi:dev::xyz::pulumi:pulumi:Stack::xyz-dev
    Not sure why it keep saying child resource is missing parent, any suggestion please?
    w
    • 2
    • 2
  • e

    elegant-window-55250

    07/31/2020, 1:46 PM
    I’m wondering, are there any way I could create an IAM key, based on the resources that I’m deploying (with only the permissions that i required to deploy those resources).
    s
    • 2
    • 5
  • f

    famous-kite-69533

    07/31/2020, 4:20 PM
    Hi all. I have been using some Pulumi code to install Zalando Postgres Operator and it worked just fine so far. I installed it OK in a new cluster now, but when I run
    pulumi update
    again it tries to create again a CRD (operatorconfigurations.acid.zalan.do) that it has already created the first time. I can't figure out how to prevent that. You can see the code at https://ybin.me/p/2162e08ece72e646#iOV2fVY34JpU2d1mAqpxc00ru4SCfGwRdcquitOKupY= - any idea of what I can do to fix? Thanks!
    b
    • 2
    • 36
  • b

    bright-policeman-55860

    07/31/2020, 6:44 PM
    Hi, is there a way to get the contents of Pulumi.yaml during runtime? Without bruteforcing and having to read the file myself, I mean
    w
    • 2
    • 4
  • b

    bright-policeman-55860

    07/31/2020, 6:45 PM
    I my case, using Python, I want to know where the virtualenv is, so I can shell out to a command I need to run
  • b

    bright-teacher-51435

    07/31/2020, 7:13 PM
    Hi All!
  • b

    bright-teacher-51435

    07/31/2020, 7:13 PM
    Has anyone run apollo-server-lambda with pulumi ?
    f
    • 2
    • 11
  • b

    billowy-laptop-45963

    07/31/2020, 8:28 PM
    I have state in an s3 bucket for a stack I havent touched in a while. When I log into that bucket and do a
    pulumi stack ls
    it doesn't see anything. I can see files in the .pulumi/stacks/ folder. Did the format change somewhere along the line?
    w
    • 2
    • 3
  • b

    bright-policeman-55860

    07/31/2020, 8:55 PM
    This is a weird one. I've cancelled an update in progress (no resources were to be changed, btw) and now my stack seems to be gone.
    error: no stack selected; please use `pulumi stack select` or `pulumi stack init` to choose one
    pulumi stack ls
    shows nothing.
  • b

    bright-policeman-55860

    07/31/2020, 8:59 PM
    My backend is S3 and I noticed that my credentials have just expired, might be related. Still no stacks available after renewing, though.
  • b

    bright-policeman-55860

    07/31/2020, 9:24 PM
    My stack's json file was gone from S3. Thankfully Pulumi creates a bunch of backups and I had versioning enabled, but it's very weird why it was just gone. Ctrl-C looks like a real killer here
    w
    • 2
    • 2
  • t

    thankful-holiday-28161

    08/01/2020, 4:38 AM
    Hey guys, nice to meet y'all
  • t

    thankful-holiday-28161

    08/01/2020, 4:38 AM
    I'm starting off using Pulumi on GCP
  • t

    thankful-holiday-28161

    08/01/2020, 4:39 AM
    I had some observations I thought could be useful for the direction of the product
Powered by Linen
Title
t

thankful-holiday-28161

08/01/2020, 4:39 AM
I had some observations I thought could be useful for the direction of the product
View count: 1