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

    billowy-analyst-78619

    03/15/2021, 7:11 PM
    anyone know how to debug
    error: Duplicate resource URN 'urn:pulumi:my-infrastructure::go::pulumi:pulumi:Stack::go-my-infrastructure'; try giving it a unique name
    It doesn't give me what resource is colliding... I think I narrowed it down to
    ec2.NewVPC
    but this block was directly grabbed from a
    pulumi import ...
    so it should be in the state
    b
    • 2
    • 1
  • w

    worried-honey-61577

    03/15/2021, 8:43 PM
    Hey guys! We just wrote our first serious dynamic provider in TypeScript, and we’re excited about it. I noticed that when you compile the TypeScript into JS and run it, you get this error:
    '() => provider': index.js(19,37): captured
          variable 'provider' which indirectly referenced
            function 'DatabaseChangeLogResourceProvider': DatabaseChangeLogResourceProvider.js(28,15): which referenced
              function 'generateChangeLogFile': DatabaseChangeLogResourceProvider.js(32,25): which captured
                variable 'fs' which indirectly referenced
                  function 'writeFileSync': which referenced
                    function 'getOptions': which captured
                      'ERR_INVALID_ARG_TYPE', a function defined at
                        function 'NodeError': which referenced
                          function 'getMessage': which captured
                            variable 'messages' which indirectly referenced
                              function 'get': which could not be serialized because
                                it was a native code function.
    It works perfectly fine if you reference it in TypeScript. I care about this because I’d like to put it in an NPM package and use it in many applications. Any ideas?
  • w

    worried-honey-61577

    03/15/2021, 8:57 PM
    After talking with a few people, they suggested it might just be my compilation process
  • b

    busy-honey-73811

    03/16/2021, 10:22 AM
    The Pulumi UI (https://app.pulumi.com/) is a bit shaky today. Navigating to a project site results in 404.
    b
    w
    • 3
    • 17
  • b

    broad-dog-22463

    03/16/2021, 10:43 AM
    hey @busy-honey-73811 - please can you open an issue in the pulumi/pulumi repo?
    b
    • 2
    • 2
  • f

    future-morning-96441

    03/16/2021, 11:31 AM
    Did anyone manage to successfully use pnpm for a Pulumi app? I'm facing several ``Could not include required dependency '<...someModuleName...>'`...
    l
    • 2
    • 3
  • s

    shy-exabyte-78907

    03/16/2021, 1:29 PM
    Hey guys, I am trying to use Pulumi in Azure Dev Ops release pipeline and I am receiving this
    error: no resource plugin 'pulumi-nodejs' found in the workspace or on your $PATH
    every time I try to run
    pulumi preview
    . In this pipeline I am using the installation script but I can’t change the PATH. Therefore, I am adding the path of the installation to
    PULUMI_HOME
    as
    C:/<path>/.pulumi
    . I am running pulumi as
    <path>/.pulumi/bin/pulumi.exe
    . Even after all that, the error about not finding the plugin is still happening. Any idea?
    f
    • 2
    • 11
  • w

    wet-noon-14291

    03/16/2021, 3:25 PM
    A meta question. Is there any plans to provide a provider for pulumi? It would be nice to be able to configure pulumi just the same way as with all the other things pulumi supports 🙂.
    r
    w
    • 3
    • 6
  • w

    worried-knife-31967

    03/16/2021, 4:01 PM
    you mean like the Automation API?
  • w

    worried-knife-31967

    03/16/2021, 4:02 PM
    i.e. programmatically run pulumi, and configure stuff
  • b

    brave-planet-10645

    03/16/2021, 4:28 PM
    Or do you mean a provider for the API that powers the saas? So teams / users / organisations?
  • b

    bitter-application-91815

    03/16/2021, 4:56 PM
    Hey folks, anyone have any idea how to create an s3 bucket within a certain region, which isn't the default region for the stack that i'm standing up
    w
    • 2
    • 1
  • b

    bitter-application-91815

    03/16/2021, 4:56 PM
    Can that be done ?
  • p

    prehistoric-coat-10166

    03/16/2021, 5:00 PM
    Maybe via https://www.pulumi.com/docs/reference/pkg/aws/provider/? Adding that as an argument via CustomResourceOptions
  • b

    bitter-application-91815

    03/16/2021, 5:00 PM
    ah cool cheers
  • c

    clever-plumber-29709

    03/16/2021, 7:03 PM
    what would be the equivalent in pulumi to the local-exec terraform provisioner?
    w
    • 2
    • 6
  • p

    plain-spoon-93851

    03/16/2021, 7:27 PM
    We are evaluating pulumi and I’m trying to run through the quick start. I’m not able to login with the website or an access token and I can’t figure out what the problem is. Everything I do results in a timeout. Any suggestions?
    ~/Code/quickstart $ pulumi login
    Manage your Pulumi stacks by logging in.
    Run `pulumi login --help` for alternative login options.
    Enter your access token from <https://app.pulumi.com/account/tokens>
        or hit <ENTER> to log in using your browser                   : 
    We've launched your web browser to complete the login process.
    
    Waiting for login to complete...
    error: problem logging in: performing HTTP request: Get "<https://api.pulumi.com/api/user>": net/http: TLS handshake timeout
    ~/Code/quickstart $ pulumi login
    Logging in using access token from PULUMI_ACCESS_TOKEN
    error: problem logging in: getting user info from <https://api.pulumi.com>: performing HTTP request: Get "<https://api.pulumi.com/api/user>": net/http: TLS handshake timeout
    w
    b
    • 3
    • 19
  • p

    plain-spoon-93851

    03/16/2021, 7:42 PM
    OSX Big Sur, pulumi installed with homebrew, v2.220.
  • w

    worried-knife-31967

    03/16/2021, 7:42 PM
    Has anyone done anything like drift detection with Pulumi?
  • c

    clever-plumber-29709

    03/16/2021, 9:01 PM
    Is anyone here using spinnaker with pulumi? and specially to deploy in ECS? I'm just getting started on spinnaker, still checking options, but I'm having a hard time wrapping my head around how spinnaker and pulumi will work together. I'm setting up, a ecs cluster, that will have various microservices. Pulumi sets all the infra needed for it. And was checking spinnaker to manage the deployments and pipelines, but from what i understand, seems like spinnaker also wants to manage some infra, to be able to control de deployments in detail. so here is where i get lost. Also open to other suggestion for CD systems that integrate nicely with pulumi.
    f
    c
    • 3
    • 2
  • c

    clever-cartoon-41433

    03/16/2021, 11:19 PM
    Friendly unsolicited advice: You guys should really consider slowly replacing the entirety of Gitlab's CI/CD offering. I already see a bit of it with the docker provider, and someone really needs to do to them what you're doing to terraform. Gitlab-ci.yaml files are just not powerful enough.
    ➕ 1
    l
    c
    w
    • 4
    • 20
  • n

    narrow-jackal-57645

    03/17/2021, 3:45 AM
    Q: From my understanding, users could set tag for a stack by using CLI
    pulumi stack tag set
    . I would like to ask is there any way to set the tag via a config file? For example setting some property in
    Pulumi.yaml
    or
    Pulumi.<stackName>yaml
    ?
    k
    • 2
    • 2
  • b

    bored-car-38257

    03/17/2021, 9:28 AM
    GCP Resources can be bulk exported
    gcloud alpha resource-config bulk-export  --resource-format=terraform
    is there such option for
    pulumi
    ?
    e
    • 2
    • 2
  • w

    worried-knife-31967

    03/17/2021, 9:34 AM
    That wouldn't really work in a Desired State system I don't think
  • b

    bumpy-agent-19616

    03/17/2021, 12:09 PM
    Hey guys, we are using Pulumi Self-managed backend to make K8s deployments in a team environment and use the common stack for the same purpose. Aside from that, we deploy apps to K8s platform through CircleCI deploy pipelines whenever there is a merge to master branch but we are facing concurrent update issue when there are concurrent merges to master stating that there are 'pending_operations' for previous Pulumi update operation. To get this around, one probable solution I can think of would be to ask people to create different stacks based on what they work feature development/fix an issue so they wouldn't interfere with other's Pulumi update operations. Any other suggestions you guys could think of?
    b
    • 2
    • 6
  • n

    narrow-battery-9106

    03/17/2021, 12:56 PM
    Hello everyone I am using pulumi with openstack to provision my infra For some reason there are resources that I cannot create for example volume It errors with this message
    Error creating OpenStack block storage client: No suitable endpoint could be found in the service catalog.
    Is there a way to set this endpoint manually? I have several endpoints from openstack provider something like
    <https://volume.cloud>.{id}
    not sure how to use them but I presume pulumi needs one of those and can not find them (correct me if I am wrong) I just wanted to try them out one by one so I need a way to set them manually
    g
    • 2
    • 2
  • a

    adorable-action-51248

    03/17/2021, 1:07 PM
    when pulumi is building docker images, there is unfortunately no indicator that docker is building. ( it only has an Info column, which starts with “Executing […]” however this is usually not clear if that info is really current. since the Info column of “stack” also shows info of the last action. ) Is there a way to configure the docker provider that it supplies a value for the “plan” column that is animated while building like the other providers ?
    l
    • 2
    • 2
  • d

    delightful-mouse-18472

    03/17/2021, 1:17 PM
    Hi ppl, I'm using a Helm Chart to deploy part of my stack and in the Chart there's a Secrete I update in an init Container. Is there a way to get the Secret with its updated data after creating the Chart instance (I'm using Typescript)?
  • h

    helpful-van-82564

    03/17/2021, 1:51 PM
    Hi, is there a way to enforce pulumi to fall over if a given provider is invalid? I had accidentlly commented out setting a provider, so it was None when used for some kubernetes stuff, and pulumi then decided to use whatever $KUBECONFIG was set to since provider was None. Can I set this somewhere, if the provider doesnt work, dont fall back to $KUBECONFIG ?
    g
    • 2
    • 1
  • e

    elegant-island-39916

    03/17/2021, 3:33 PM
    Hi, is there a way to configure gitlab projects to squash commits when merging with pulumi-gitlab?
Powered by Linen
Title
e

elegant-island-39916

03/17/2021, 3:33 PM
Hi, is there a way to configure gitlab projects to squash commits when merging with pulumi-gitlab?
View count: 1