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

    melodic-car-16900

    03/17/2022, 4:24 PM
    I have a feature request 😅 - I'd love
    pulumi up --yes-if-unchanged
    it would make workflows way easier for us
    ☝️ 1
    e
    • 2
    • 5
  • t

    thankful-coat-47937

    03/17/2022, 5:45 PM
    hi all, is there a list of permissions
    pulumi preview
    requires in various cloud providers? use case is running
    pulumi preview
    on feature branches but not having the env have "full admin" to execute the actual changes
    e
    • 2
    • 8
  • b

    busy-magazine-6225

    03/17/2022, 6:38 PM
    Does the pulumi github app provide a way to have pulumi submit reviews instead of comments on changes? I want to require that any pulumi state changes are reviewed by the team before a merge is allowed.
  • a

    ambitious-father-68746

    03/17/2022, 10:14 PM
    Hi, is there a way to see documentation for older versions of the providers on the website? Thank you
  • a

    ambitious-lifeguard-6753

    03/17/2022, 10:39 PM
    Hey guys, I've run into a problem where Pulumi keeps thinking that a resource have changed even when I haven't edited it. This appears to happen with the alb listener and taskdefinition + service
    pulumi:pulumi:Stack    currents-prod                  
     ~  ├─ aws:alb:Listener    so-shared-prod-swell-https-forward update   [diff: ~defaultActions]
     +- ├─ aws:ecs:TaskDefinition so-shared-prod-swell        replace   [diff: ~containerDefinitions]
     ~  └─ aws:ecs:Service     so-shared-prod-swell        update   [diff: ~taskDefinition]
    Has anyone had this issue before?
    l
    • 2
    • 5
  • t

    thankful-coat-47937

    03/17/2022, 11:35 PM
    pulumi preview
    ran in CI builds sometimes formats oddly. example: any idea what packages / flags i can use to get it to format correctly?
    l
    • 2
    • 1
  • t

    thankful-coat-47937

    03/17/2022, 11:36 PM
    above vs the standard 4 column format
  • f

    future-window-78560

    03/18/2022, 5:48 AM
    Hey everyone! I am supposed to create a GCP bucket with private access (through pulumi), as per docs https://www.pulumi.com/registry/packages/gcp/api-docs/storage/bucket/#create there is an attribute public_access_prevention to support but pulumi gives an error on its implementation: • TypeError: _internal_init() got an unexpected keyword argument 'public_access_prevention'
  • g

    great-sunset-355

    03/18/2022, 9:40 AM
    I recently started looking for a Google workspace provider And found this. Does anyone have more details on what the plan with this provider is? @broad-dog-22463 https://github.com/pulumi/pulumi-googleworkspace
    👀 1
    p
    l
    b
    • 4
    • 3
  • e

    echoing-angle-67526

    03/18/2022, 2:45 PM
    Hello! i'm getting the following error when using the experimental update plans:
    pulumi preview --save-plan plan.json
    pulumi up --plan=plan.json
    Previewing update (redacted/dev)
    
    
    
         Type                 Name             Plan        
         pulumi:pulumi:Stack  test-dev  running.    
    panic: fatal: An assertion has failed
    
    goroutine 77 [running]:
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
            /Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)>
            /Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/assert.go:26
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*ResourcePlan).checkGoal|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*ResourcePlan).checkGoal>(0x184ce40, 0xc0013d4700, 0xc0013d4700, 0x3d)
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/plan.go:479 +0xf94
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc0006546c0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc0006546c0>, {0x7f67304ac0b8, 0xc0025a0790})
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:471 +0x16cb
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc0006546c0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc0006546c0>, {0x7f67304ac0b8, 0xc0025a0790})
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:186 +0x46
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc00063a2d0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc00063a2d0>, {0x1e77f20, 0xc0025a0790})
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:413 +0xe5
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00065a720|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00065a720>, 0xc00063a2d0, 0xc0006462d0, {0x1ea9c50, 0xc000644400}, 0x0, 0x0, {0x1ea9cf8, 0xc00232e6c0})
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:250 +0x273
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc00063a2d0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc00063a2d0>, {0x1ea9cf8, 0xc00232e6c0}, {{0x7f6730403008, 0xc000bfcf20}, 0x7fffffff, 0x0, 0x0, {0x2cb4720, 0x0, ...}, ...}, ...)
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:266 +0x95f
    <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0020dc420|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0020dc420>, {0x1ea9cf8, 0xc00232e6c0}, {{0x7f6730403008, 0xc000bfcf20}, 0x7fffffff, 0x0, 0x0, {0x2cb4720, 0x0, ...}, ...}, ...)
            /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:447 +0xd0
    <http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()>
            /Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:269 +0x250
    created by <http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run>
            /Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:252 +0x371
    when i do a regular pulumi up on the same program (which i presume uses an internally generated plan file) it works fine. any idea why passing the plan file causes the assert failure? should i create a github issue?
    e
    • 2
    • 4
  • q

    quick-airport-30353

    03/18/2022, 2:48 PM
    does anyone know how to fix my issue? I'm on Windows 10, using PowerShell. I installed Python and Pulumi via Chocolatey. When I do a
    pulumi up
    I get this error:
    Failed to resolve python version command: exit status 103
    c
    e
    a
    • 4
    • 8
  • b

    bright-receptionist-28471

    03/18/2022, 4:12 PM
    Is it possible to set configuration options on the default provider, or is that only possible if you create a non-default provider? (edit: set within a Pulumi program specifically)
    e
    • 2
    • 2
  • h

    helpful-account-44059

    03/18/2022, 4:55 PM
    Hi,is it possible to run a job within a aws ec2 or some other resource,then delete the resources after the job done
    e
    • 2
    • 2
  • a

    adorable-gpu-98268

    03/18/2022, 10:41 PM
    Hi, does pulumi function serialization support handling of ESM or only CommonJS modules?
    e
    • 2
    • 5
  • w

    wooden-address-79679

    03/19/2022, 4:49 AM
    Is PHP + PhpStorm support on the roadmap?
    e
    • 2
    • 1
  • a

    adorable-gpu-98268

    03/19/2022, 8:02 PM
    Can I use auto-naming of resources with dynamic resource providers? Or do I have to implement the auto-naming logic myself?
    e
    m
    • 3
    • 10
  • g

    gifted-electrician-66436

    03/20/2022, 7:29 AM
    Hi guys, i got stuck with ssm string manipulation (Typescript Pulumi AWS), what i need :
    "dnsIpAddresses": [
              "10.0.2.66",
              "10.0.1.148"
            ]
    What I get :
    "dnsIpAddresses": [
                "10.0.2.108,10.0.1.47"
              ]
    My code :
    "dnsIpAddresses": ["${barDirectory.dnsIpAddresses}"]
    My silly solution :
    "dnsIpAddresses": ["${barDirectory.dnsIpAddresses[0]}", "${barDirectory.dnsIpAddresses[1]}"]
    Any suggestion guys? thx a lot for your time
    e
    • 2
    • 1
  • b

    billions-glass-17089

    03/20/2022, 1:13 PM
    Is there any reason to avoid adding dynamic names to
    ComponentResource
    type
    parameters to help with namespacing resources? I.E:
    class VPC extends ComponentResource {
      constructor(name: string, opts: ComponentResourceOptions = {}) {
        super(`VPCComponent/${name}`, name, undefined, opts)
      }
    }
    more deets here: https://github.com/pulumi/pulumi/discussions/9250
  • a

    adorable-gpu-98268

    03/20/2022, 1:23 PM
    Is there a way to change the type name of dynamic resources? I always have the type
    pulumi-nodejs:dynamic:Resource
    , so the URN’s would conflict if I don’t choose the names carefully.
    ☝️ 1
  • a

    adorable-gpu-98268

    03/20/2022, 1:25 PM
    @billions-glass-17089 Sorry, didn’t recognise you just asked the same question 🙂
    b
    e
    • 3
    • 8
  • w

    wet-fall-68417

    03/20/2022, 1:39 PM
    Hello, I’m trying to create an aws lambda permissions resource. I want to pass it the ID of the api gateway authorizer. The thing is I create the authorizer with
    aws.apigatewayv2.Api
    resource, using the body input, and not with the
    aws.apigatewayv2.Authorizer
    resource. Is there a way to get the authorizer id from the
    aws.apigatewayv2.Api
    resource? At the moment in order to make it work, we have to run pulumi up twice. First to create the authorizer, manually updating the code with its id, then running pulumi up again to create the lambda permissions.
    localAuthFuncID = "as3dsc"
    const localAuthSourceARN = pulumi.interpolate`arn:aws:execute-api:${region}:${account}:${APIGateWaylocal.id}/authorizers/${localAuthFuncID}`
    new aws.lambda.Permission("localAuthorizerFunctionpolicylambda", {
        action: "lambda:InvokeFunction",
        "function": authorizerFunctionLambda.name,
        principal: "<http://apigateway.amazonaws.com|apigateway.amazonaws.com>",
        sourceArn: localAuthSourceARN,
        statementId: "localAuthorizerFunctionpolicylambda"
    })
    Last time @great-queen-39697 helped me with another aws issue. Thanks!
  • a

    adorable-gpu-98268

    03/20/2022, 1:56 PM
    What is the default behaviour of dynamic resources with regards to the
    __provider
    input? Should I be checking this in
    diff
    when I want to force a replacement when it’s changed?
    e
    • 2
    • 1
  • b

    billowy-horse-79629

    03/20/2022, 6:46 PM
    Hey guys, I’m trying to fetch an aws cert using
    getIssuerCAThumbprint()
    function on ts, and i’m using a native https.Agent, and an
    Output<>
    as the
    issueUrl
    . For some reason when i’m trying to
    preview
    it’s waiting the cert to be fetched instead of skipping it (as output functions should work), and i’m getting this error (on the image). Any help please ? Thanks guys.
    e
    • 2
    • 26
  • f

    future-window-78560

    03/20/2022, 8:00 PM
    Hey! Is there any example of pulumi- automation API with GCP??
    e
    • 2
    • 1
  • i

    incalculable-whale-36468

    03/20/2022, 11:08 PM
    Hey guys! I'm trying to use the postgres package: https://www.pulumi.com/registry/packages/postgresql/installation-configuration/ In order to configure credentials, it required that I have an env var or either a config with my credentials. However, what I do is create a porstgres instance using a provider - the hostname for example is unknown until that instance is created, and I would like to supply that hostname to the postgres package. I there even such an option? I just couldn't figure it out.
  • m

    miniature-florist-31953

    03/21/2022, 12:30 AM
    Hi There, New to Pulumi. I am hoping someone could help me with something here. How do I run DDL statements in GCP-CloudSQL in pulumi
  • s

    swift-monitor-84282

    03/21/2022, 1:47 AM
    Hi everyone! Is there a way to specify the NodeJS runtime version to be used for a "magic lambda"? For example:
    bucket.onEvent("....", () => {<something..>})
    will create a function that runs on NodeJS v8.x, but I need it to run in version 14.x
  • n

    numerous-portugal-47563

    03/21/2022, 3:54 AM
    Does anyone here know how to associate an existing Azure network security group to a subnet using the azure_native package? Something similar to the azure_classic package - https://www.pulumi.com/registry/packages/azure/api-docs/network/subnetnetworksecuritygroupassociation/
    • 1
    • 2
  • g

    great-sunset-355

    03/21/2022, 7:42 AM
    Hi, we have recently created a Pulumi organization and found out that we can only have 1 admin. This is a serious limitation, is there any reason for this?
    b
    • 2
    • 1
  • c

    chilly-nest-3657

    03/21/2022, 11:35 AM
    Hey Folks. Can someone please remove the wording
    For new projects we recommend using google-native
    from the docs. It’s not production ready, and should definitely not be used for production use cases. https://www.pulumi.com/registry/packages/google-native/
    🙏 1
    t
    • 2
    • 3
Powered by Linen
Title
c

chilly-nest-3657

03/21/2022, 11:35 AM
Hey Folks. Can someone please remove the wording
For new projects we recommend using google-native
from the docs. It’s not production ready, and should definitely not be used for production use cases. https://www.pulumi.com/registry/packages/google-native/
🙏 1
Those words have cost me a few days of pain trying to debug an issue.
t

tall-librarian-49374

03/21/2022, 12:48 PM
Yes, we should do that, thank you Ant and sorry for the trouble
c

chilly-nest-3657

03/21/2022, 2:34 PM
Cheers Mikhail!
View count: 1