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

    worried-terabyte-60325

    04/20/2022, 9:01 AM
    Hi team, I am trying to use minio as the backend of pulumi. I found this issue on GitHub https://github.com/pulumi/pulumi/issues/3592. Following the issue, I am able to run
    pulumi stack ls
    after logging to minio, fail on
    pulumi up
    , and
    pulumi up --debug
    shows some request to
    <https://iam.amazonaws.com/doc/2010-05-08/>
    . Is there something wrong? My pulumi version is 3.28.0 Here is the error output of
    pulumi up
    :
    error: an unhandled error occurred: program exited with non-zero exit code: 1
     
        error: program failed: 1 error occurred:
            * rpc error: code = Unknown desc = invocation of aws:ec2/getAmi:getAmi returned an error: 1 error occurred:
            * error retrieving account details: AWS account ID not previously found and failed retrieving via all available methods. See <https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id> for workaround and implications. Errors: 2 errors occurred:
            * error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: 6ec2693b-0916-463f-bdc1-3124a181789a, api error InvalidClientTokenId: The security token included in the request is invalid.
            * failed getting account information via iam:ListRoles: operation error IAM: ListRoles, https response error StatusCode: 403, RequestID: 08187f7f-4c79-4c25-9de8-a782098b5859, api error InvalidClientTokenId: The security token included in the request is invalid.
        exit status 1
    b
    • 2
    • 15
  • g

    great-sunset-355

    04/20/2022, 9:56 AM
    Do I understand correctly that Dynamic Providers can only handle 1 resource and in order to have multiple resources I should write a normal provider? (https://github.com/pulumi/pulumi-provider-boilerplate)
    e
    • 2
    • 7
  • a

    acceptable-insurance-51692

    04/20/2022, 3:25 PM
    Hi. Anybody has seen this error?
    error: operation error CloudControl: UpdateResource, https response error StatusCode: 400, RequestID: XXXX, api error ValidationException: [REPLACE Operation] noSuchPath in source, path provided : //Code
    Trying to update a Lambda using
    aws-native
    for typescript. One combination of S3 path + handler works, another, equally valid, produces the above error.
    w
    • 2
    • 2
  • a

    adamant-father-26302

    04/20/2022, 4:08 PM
    hey, anyone know why this policy https://kopy.io/zKB0K#0fwwupWqyltsMo generates this error ?:
    Error: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
    • 1
    • 2
  • d

    damp-honey-93158

    04/20/2022, 4:47 PM
    hey crazy people 🙂 If I use my own state storage backend - can I still make use of StackReference to refer to something that was already deployed using my own storage backend, or is StackReference pulumi-service only? Thank you!
    b
    • 2
    • 4
  • p

    polite-napkin-90098

    04/20/2022, 5:43 PM
    Any helpful advice on how to recover a stack which is giving me errors like
    getting selected stack: .pulumi/stacks/EKS-Test.json: snapshot integrity failure; refusing to use it:
    and
    pre-step event returned an error: failed to verify snapshot: resource urn:pulumi:EKS-Test::EKS::eks:index:Cluster$kubernetes:core/v1:ConfigMap::Test-nodeAccess refers to unknown provider urn:pulumi:EKS-Test::EKS::eks:index:Cluster$pulumi:providers:kubernetes::Test-eks-k8s::997386cc-3a20-42bd-a893-1ca95cb9772c
    • 1
    • 1
  • d

    damp-honey-93158

    04/20/2022, 7:12 PM
    Forgive the total newbie question... is it really true, that to set the value of an Output<string> in C# to a constant value, I need to do something like this: Output<string> thing = Output<string>.Create(Task.FromResult("the value I got from somewhere"));
    w
    • 2
    • 4
  • s

    sticky-match-71841

    04/20/2022, 7:40 PM
    Doesn't Automation API support executing multiple updates on different stacks at the same time? I am seeing some really strange things when i try it
    m
    • 2
    • 3
  • c

    chilly-magazine-6129

    04/20/2022, 7:47 PM
    small blog post issue
    m
    • 2
    • 3
  • w

    witty-vegetable-61961

    04/20/2022, 11:07 PM
    quick question guys. I am deploying some auth0 apps via Pulumi. I have a dev stack created, and would have a further stack for tst, stg, etc. How can I pass in the stack name (which is the environment name) to my c#? I.E. when I run pulumi up for dev, the dev environment name is passed to c#, as the auth0 app names are dynamically generated.
    l
    • 2
    • 5
  • h

    high-exabyte-81175

    04/21/2022, 8:29 AM
    👋 Hi everyone!
    👋 2
    👋🏻 1
  • i

    icy-jordan-58549

    04/21/2022, 10:08 AM
    pulumi v3.30.0 same stack without any changes gives me this
    FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
         1: 0x106018a25 node::Abort() (.cold.1) [~/.nvm/versions/node/v16.14.2/bin/node]
         2: 0x104d0e0f9 node::Abort() [~/.nvm/versions/node/v16.14.2/bin/node]
         3: 0x104d0e26f node::OnFatalError(char const*, char const*) [~/.nvm/versions/node/v16.14.2/bin/node]
         4: 0x104e8f7e7 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [~/.nvm/versions/node/v16.14.2/bin/node]
         5: 0x104e8f783 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [~/.nvm/versions/node/v16.14.2/bin/node]
         6: 0x105030e65 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [~/.nvm/versions/node/v16.14.2/bin/node]
         7: 0x10502f7ec v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [~/.nvm/versions/node/v16.14.2/bin/node]
         8: 0x10503c090 v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [~/.nvm/versions/node/v16.14.2/bin/node]
         9: 0x10503c111 v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [~/.nvm/versions/node/v16.14.2/bin/node]
        10: 0x1050091a7 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [~/.nvm/versions/node/v16.14.2/bin/node]
        11: 0x1053c0dae v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [~/.nvm/versions/node/v16.14.2/bin/node]
        12: 0x10576a879 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [~/.nvm/versions/node/v16.14.2/bin/node]
    e
    • 2
    • 6
  • f

    fierce-manchester-32400

    04/21/2022, 4:44 PM
    Hi pulumi! Is there a place to post random questions while trying to adopt pulumi?
    👍 1
    f
    a
    • 3
    • 3
  • b

    broad-island-71889

    04/21/2022, 7:54 PM
    Hi guys, I’m trying to figure out why ignore_changes doesn’t work for
    aws.eks.NodeGroup
    , already tried to configure it in different ways, but none of them is working for me, hope you can provide some guidance. I’m using python and tried:
    ignore_changes=["scaling_config.desired_size"]
    ignore_changes=["scaling_config.desiredSize"]
    ignore_changes=["scalingConfig.desiredSize"]
    Should I try something similar to terraform’s version instead?:
    scaling_config[0].desired_size
    Thank you!
    q
    w
    • 3
    • 3
  • s

    stocky-petabyte-29883

    04/21/2022, 8:49 PM
    Hi Do you guys have any general examples of creating aws aurora cluster and instances via pulumi aws classic? Thanks
    s
    • 2
    • 1
  • f

    flaky-mechanic-81707

    04/22/2022, 5:30 AM
    Hi Everyone, I need documentation from pulumi automation azure API
    l
    • 2
    • 1
  • a

    adamant-father-26302

    04/22/2022, 9:24 AM
    when running pulumi integration-test using
    integration.ProgramTest
    with golang, it tries to read sum.golang.org/*** for a private repository included in the tested code and fails
    410 Gone
    . That repository has a local-path replace in go.mod, so it shouldnt really have to fetch it remotely. Anyone know a solution to this?
  • c

    cold-toothbrush-60276

    04/22/2022, 10:54 AM
    Hi, anyway we can specify the aws provider version we need to use?
    b
    • 2
    • 2
  • l

    lively-answer-93856

    04/22/2022, 12:10 PM
    I am surprised that there is no Pulumi provider/package that allows to manage Pulumi organisation as a Pulumi stack. Unless there is?
  • l

    lively-answer-93856

    04/22/2022, 12:11 PM
    Ah I can see it is on your roadmap https://github.com/pulumi/service-requests/issues/18 🙂
    💜 2
  • b

    billions-lawyer-5518

    04/22/2022, 1:49 PM
    Hi folks, I have published an article related to Running containerized android tests in GCP using Pulumi and Selenoid. I want to thank all the Pulumi community members for helping me out. https://medium.com/p/faf4c398cd6c
    ❤️ 4
    b
    • 2
    • 2
  • t

    thousands-hairdresser-72380

    04/22/2022, 2:06 PM
    I recently changed the binding of a parent/child relationship for an
    aws.sqs.QueuePolicy
    . When it was updated, it created a
    replacement
    and deleted the old one. Turns out that they’re not distinct entities, they’re just a property of the
    aws.sqs.Queue
    . That means creating a replacement then deleting the prior essential just deleted the property all together, thus breaking our workflow and losing a few hours of messages for the Queue. This seems to be a bug in the update strategy. Should I create an issue on
    pulumi/pulumi-aws
    or am I missing something?
    b
    • 2
    • 5
  • r

    rough-dinner-7791

    04/22/2022, 6:03 PM
    Hi, Using pulumi since 2021, last week i changed my cluster on gcp from public to private. Ofc, needed to change nodepool and pulumi is stuck on
    refresh
    state from the nodepool since 1week and every deploiement finish with "timeout" after 30mins.
    pulumi refresh
    didn't solved issue, and nodepool is fine on gcp, so i dont get why pulumi is stuck on it. Any idea ? Thanks.
    l
    • 2
    • 6
  • b

    brief-artist-21016

    04/22/2022, 6:38 PM
    Hey! Tried searching through the go documentation, the getting started, some blog posts, and github issues (https://github.com/pulumi/pulumi/discussions/9069#discussioncomment-2269460). I however cannot find anything that describes what exactly happens when an
    ApplyT()
    on an output returns an error (say like the example I wanted to return an error if a string does not contain the letter 'a'? Does
    ApplyT
    panic if the function passed in returns an error? Does it return the error via the main
    pulumi.RunErr()
    call? Is there something I need to do in order to capture and handle the error?
  • p

    polite-napkin-90098

    04/22/2022, 8:22 PM
    It would be nice if there was a flag for
    pulumi state delete
    like
    --pending-deletion
    which would delete all the resources in the stack which are (Pending Deletion) I guess I should suggest this on the github for pulumi?
    b
    e
    • 3
    • 2
  • t

    thankful-coat-47937

    04/23/2022, 3:36 AM
    any way to ban this command from being used on the org level
  • t

    thankful-coat-47937

    04/23/2022, 3:36 AM
    https://www.pulumi.com/registry/packages/aws/api-docs/iam/policyattachment/
    b
    • 2
    • 2
  • t

    thankful-coat-47937

    04/23/2022, 3:37 AM
    extremely dangerous. or the very least have a strong warning
  • t

    thankful-coat-47937

    04/23/2022, 3:37 AM
    have had a couple times where we accidentally broke some roles we shouldn't have on AWS
  • a

    alert-analyst-72112

    04/23/2022, 10:12 AM
    hi all. just wanted to say that Pulumi has significantly improved my QoL and allowed me to enjoy working on infrastructure tasks that I used to dread. huge thanks to the team and all contributors
    ❤️ 4
Powered by Linen
Title
a

alert-analyst-72112

04/23/2022, 10:12 AM
hi all. just wanted to say that Pulumi has significantly improved my QoL and allowed me to enjoy working on infrastructure tasks that I used to dread. huge thanks to the team and all contributors
❤️ 4
View count: 2