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

    quick-airport-30353

    05/03/2022, 9:37 PM
    Does anyone have any examples of associating a new CloudWatch log group to a Lambda?
  • c

    cool-advantage-45707

    05/04/2022, 12:25 AM
    Hi, I am having problems all of a sudden with my deployments. I am getting this error. I have updated the cli and
    npm install
    only to get these errors:
    waterledger/waterrecharge-infra/waterrecharge-staging (pulumi:pulumi:Stack)
    Found incompatible versions of @pulumi/pulumi. Differing major versions are not supported.
     
      Version 2.25.2 referenced at node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/package.json
     
      Version 3.10.3 referenced at node_modules/@pulumi/pulumi/package.json
    and these errors on npm install:
    b
    • 2
    • 9
  • c

    cool-advantage-45707

    05/04/2022, 12:26 AM
  • m

    millions-journalist-34868

    05/04/2022, 7:08 AM
    Someone said on reddit that "pulumi is a node app that requires the npm ecosystem", and for him there is a security concern to work with Node/npm in its organization. From my understanding pulumi is written in go, so is a go application not a node app and npm is not required if you don't use npm runtime. Am I wrong and not understanding things correctly?
    l
    f
    • 3
    • 5
  • d

    damp-honey-93158

    05/04/2022, 8:41 AM
    might be a provider question, might be an Azure question. I'm creating an Azure RoleAssignment - and this has worked before - now I disabled the azure provider, and instantiated my own (but note: I didn't pass it to anything - I just instantiated it). When I create the RoleAssignment, pulumi up complains with: azure-native:authorization:RoleAssignment (sreg-role-assignment): error: autorest/azure: Service returned an error. Status=404 Code="ResourceGroupNotFound" Message="Resource group 'x25container6750c5ea' could not be found." The interesting part is that the resource group isn't specified anywhere that I can see in the definition of the RoleAssignment. So I wonder what's going on? Culprits in my mind would be: the provider, maybe the Service Principal rights. How might I debug this further?
    • 1
    • 2
  • d

    damp-honey-93158

    05/04/2022, 9:10 AM
    Does anyone have sample code showing how to create an (azure) provider, that is then used implicitly with another resources that DO NOT specifically take a provider instance? I've got a c# library of code that constructs stuff, non of it should care about which provider is being used in my opinion - so I definitely do not want to be forced to inject a "provider" arg into every single ctor, that seems like a code smell. I've just noticed now that when I provide a resource with a ComponentResourceOptions instance (for example, to ensure a RG is retained on delete); then my default provider is entirely ignored and the RG doesn't even get created.
    e
    • 2
    • 1
  • b

    brainy-beach-36627

    05/04/2022, 10:12 AM
    Hi ! I use pulumi eks to manage our EKS clusters. We add
    ignore_changes=["scalingConfig.desiredSize"]
    inside eks.ManagedNodeGroup() to let the autoscaler manage this value, but it doesn’t seems to work. When I run pulumi preview --diff, the config si not ignored :
    ~ scalingConfig: {
                  ~ desiredSize: 4 => 1
                }
    Does someone had a similar issue ?
    e
    w
    • 3
    • 17
  • m

    melodic-greece-12878

    05/04/2022, 10:13 AM
    Hi all. Is there any documentation/code available that describes the differences between Pulumi outputs and Pulumi configurations, and when to use what? I've had some discussions with my colleagues on how approach certain things: • We did split our infrastructure in separate Pulumi projects so they can be executed separately. • However, there are some dependencies between these projects: ◦ The first project creates a GCP project ◦ the second projects creates basic networking components (VPC, subnets, etc.). • Higher projects might require some information that was created/updated in other projects. My colleagues propose to use the automation API and to write the information to the dependent projects' configuration so that they will retrieve the updated config during the next run. I see a few downsides here: • As far as I understand the Pulumi config, it resides in a .yaml file so I expect that it should always be read from there and implies that it requires a Git/code commit/push/pull before it's shared. This could create weird syncing issues. • It feels like the opposite way to manage dependencies, as the code delivering the shared data should know it's dependencies My stance would be that you should retrieve provisioning information from the Pulumi project's state, by using the get_ functions, or by reading it from the outputs (which requires you to export it). The purpose of the Pulumi config/secrets is different than the state/outputs but I have trouble putting it into the right words to convince them. Any tips, thoughts, links that can help us to settle the discussion? (I'm also happy to be wrong here :)) (Please let me know if I'd rather need to repost this in a specific channel)
    v
    b
    • 3
    • 8
  • w

    wet-noon-14291

    05/04/2022, 1:29 PM
    Anyone that has experience SIGKILL when running pulumi up and have any suggestions on how to debug? I have that now in my automation app, and not sure where to start.
    g
    • 2
    • 3
  • m

    microscopic-article-30157

    05/04/2022, 2:02 PM
    When I register for PulumiUp, all I get is an email that says "... We've saved your spot and you can expect to receive your personalised link shortly". This was a long time back, and I haven't got anything yet. How do we join?
    a
    l
    • 3
    • 5
  • t

    thousands-hairdresser-72380

    05/04/2022, 3:27 PM
    After upgrading to Pulumi
    3.32.0
    , I just got this error:
    panic: fatal: An assertion has failed: action must be non empty
    
    goroutine 2009 [running]:
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
    	/private/tmp/pulumi-20220504-79959-1budjvw/sdk/go/common/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf>(0x0?, {0x1053aa67e?, 0x140010182d0?}, {0x0?, 0x10537c4e7?, 0x3?})
    	/private/tmp/pulumi-20220504-79959-1budjvw/sdk/go/common/util/contract/assert.go:33 +0xe4
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.makeActionProgress({0x106864480|github.com/pulumi/pulumi/pkg/v3/backend/display.makeActionProgress({0x106864480>, 0x1}, {0x0, 0x0})
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:59 +0xa8
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshColumns(0x14001d94780|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshColumns(0x14001d94780>, {0x106864480, 0x1}, {0x140021259f0, 0x5, 0x5}, {0x14000a46060, 0x5, 0x5})
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:437 +0x9c
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshAllRowsIfInTerminal(0x14001d94780)|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).refreshAllRowsIfInTerminal(0x14001d94780)>
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:655 +0x598
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processNormalEvent(0x14001d94780|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processNormalEvent(0x14001d94780>, {{0x105398980?, 0x7?}, {0x105a667e0?, 0x14000849400?}})
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:1134 +0xd48
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processEvents(0x14002d61e40|github.com/pulumi/pulumi/pkg/v3/backend/display.(*ProgressDisplay).processEvents(0x14002d61e40>?, 0x140035a49b0, 0x1400079f6e0)
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:1202 +0xc0
    <http://github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents.func1()|github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents.func1()>
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:342 +0x34
    created by <http://github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents|github.com/pulumi/pulumi/pkg/v3/backend/display.ShowProgressEvents>
    	/private/tmp/pulumi-20220504-79959-1budjvw/pkg/backend/display/progress.go:341 +0x658
    Any ideas why this may happen?
    b
    e
    m
    • 4
    • 16
  • n

    nutritious-petabyte-61303

    05/04/2022, 3:57 PM
    @quiet-wolf-18467 ping
    q
    e
    • 3
    • 30
  • b

    billowy-army-68599

    05/04/2022, 4:35 PM
    Our new YAML support opens up a LOT of possibilities because so many languages can generate YAML or JSON. Some of them are good ideas, some: not so much: https://twitter.com/briggsl/status/1521886410235473921
    😛artypus: 3
    ❤️ 2
  • f

    fancy-eve-82724

    05/04/2022, 4:46 PM
    I just upgraded to pulumi 3.32.0 and now pulumi is not honouring my
    PULUMI_CONFIG_PASSPHRASE_FILE
    environment variable. If I load the value into
    PULUMI_CONFIG_PASSPHRASE
    then it works, but I'd prefer not to do that. Anyone else noticed similar?
    b
    e
    • 3
    • 8
  • e

    echoing-oil-42947

    05/04/2022, 5:06 PM
    👋 Hey folks, is there a recommended way to try and debug performance issues outside of the docs? I'm not sure what changed but my deploys now take nearly 20 minutes for a stack 74 things (including component resources & providers). Using the S3 backend (DO Spaces), docker, vault, postgres, and minio packages, and deploying docker via an ssh tunnel. Currently running the verbose output to a log file, but it's been going for 10 minutes and hasn't shown any completed updates yet
    b
    f
    • 3
    • 6
  • b

    big-island-38073

    05/04/2022, 5:36 PM
    Anyone know where I might find examples or docs related to usging pulumi to interact with vercel?
    e
    • 2
    • 2
  • s

    salmon-account-74572

    05/04/2022, 8:19 PM
    Aside from running
    pulumi stack ls
    (or making an equivalent API call), is there any way to determine the active stack for a Pulumi project? I'm not seeing anything in the stack-specific YAML files that would denote active or not.
    e
    c
    • 3
    • 13
  • q

    quick-airport-30353

    05/04/2022, 8:35 PM
    Does anyone have pulumi APIGatewayV2 (not Crosswalk) recipe guide/cookbook? I'm trying to expand out of Crosswalk and would love to get some ideas on how to implement an API Gateway with multiple routes backed by lambdas.
  • l

    little-belgium-31679

    05/05/2022, 10:03 AM
    What are the advantages of Pulumi compared to Terraform?
    l
    p
    • 3
    • 3
  • l

    little-belgium-31679

    05/05/2022, 10:05 AM
    It is mainly used as Terraform in AWS and Azure environments, but when I coded it in Pulumi Python, it seems inconcise.
  • l

    little-belgium-31679

    05/05/2022, 10:07 AM
    In order for Pulumi to be widely used, it must be easy to understand, but the manual is a pity.
    p
    e
    +2
    • 5
    • 14
  • l

    little-belgium-31679

    05/05/2022, 10:10 AM
    Terraform can be used freely by studying with books, manuals, and github without anyone’s help, but Pulumi seems to need help from experts.
    r
    p
    d
    • 4
    • 14
  • a

    agreeable-terabyte-59853

    05/05/2022, 12:47 PM
    Hello everyone. I am using Azure Classic to deploy an Azure Function App which logs traces that help me detect cold starts: see attached screenshot from Azure Portal. However, I do not seem to be able to produce the same information details about cold starts when deploying another Azure Function App not using Azure Classic. Does anyone know how to enable it?
  • m

    millions-furniture-75402

    05/05/2022, 1:11 PM
    Does anyone know of an existing project for the Pulumi state that diagrams resources similar to https://github.com/cycloidio/inframap for Terraform?
    v
    l
    • 3
    • 8
  • b

    bulky-agent-73210

    05/05/2022, 1:56 PM
    Hey all, is it possible to import a resource (ex. client) from auth0 provider and how? I’m getting invalid resource type token error.
    e
    • 2
    • 7
  • d

    dry-salesmen-32588

    05/05/2022, 3:57 PM
    might have found a bug in pulumis python test setup - seems to be related to helm template rendering - who is available to discuss this
    e
    v
    • 3
    • 6
  • f

    fast-river-57630

    05/05/2022, 5:36 PM
    [solved] PULUMI_ACCESS_TOKEN seems to have stopped working in our github CI . I tried swapping to a new token to resolve it with no success. Nothing seems to have changed on our end . using pulumi/actions@v3 and pulumi/setup-pulumi@v2 in github actions
    getting secrets manager: passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE environment variables
    e
    • 2
    • 14
  • f

    fast-river-57630

    05/05/2022, 5:37 PM
    oh I wonder if one of the AWS keys is bad but the error is being masked
  • f

    fast-river-57630

    05/05/2022, 5:41 PM
    nope! still broken
  • c

    curved-quill-94238

    05/05/2022, 7:01 PM
    So in AWS Appstream in the console, you can go to "Actions->Share" on an Image to share it with other accounts. Is there any equivalent to control this through Pulumi? I couldn't seem to find anything
Powered by Linen
Title
c

curved-quill-94238

05/05/2022, 7:01 PM
So in AWS Appstream in the console, you can go to "Actions->Share" on an Image to share it with other accounts. Is there any equivalent to control this through Pulumi? I couldn't seem to find anything
View count: 2