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

    adamant-waitress-42469

    10/17/2022, 9:55 AM
    also can't remove the stack as it hasn't been destroyed. Looks like I am completely blocked
  • a

    adamant-waitress-42469

    10/17/2022, 9:55 AM
    all i want to do is make an EKS cluster and install some stuff on it for a test
  • a

    adamant-waitress-42469

    10/17/2022, 10:24 AM
    I think I have unjammed it. This took an hour of reading docs and trying various commands almost at random
  • a

    adamant-waitress-42469

    10/17/2022, 10:29 AM
    still can't get it to actually make an eks cluster and then install stuff into the cluster. The helm chart phase always fails as the cluster doesn't exist yet
    c
    b
    • 3
    • 9
  • f

    few-plastic-88435

    10/17/2022, 12:38 PM
    Hi, Im using Pulumi with YAML. How can I make a condition to check if a resource exists to avoid that Pulumi shows me an error telling me that the resource already exists in the AWS Cloud ?. Regards,
    e
    • 2
    • 6
  • l

    lively-crayon-44649

    10/17/2022, 1:29 PM
    So, we're trying the "microstacks" approach, in which each of our back-end services has a Pulumi stack responsible for deploying it. There's a central "environment" stack that includes databases etc. that services deploy into. We'd like our services to manage their credentials in these databases themselves, but unfortunately we're using AWS RDS Proxy, which wants us to declare all the secrets at once (that is, when we create the proxy), whereas we'd like each stack to declare its own credentials piecemeal. FWIW this is the same as pgBouncer and all other connection poolers we've looked at. Is there any way to get around this? E.g. each microstack `getProxy`s a proxy defined by the main/"environment" stack and modifies it (with/without locking as necessary)? Not sure if this makes sense or not; all help appreciated!
    a
    • 2
    • 6
  • f

    fast-river-57630

    10/17/2022, 2:30 PM
    I'm curious about per-region, per-zone deployments in pulumi without multiple stacks. All my resources can be prefixed with zone and all my actual resource construction is going through a custom factory method so I'm looking at options like 'ignore changes' but that will only get you so far edit: I guess i want to be able to say "Hey only update, create, and delete objects in this AZ when i do pulumi up".
    e
    • 2
    • 5
  • m

    most-mouse-38002

    10/17/2022, 2:34 PM
    Are stacks global? I can’t have
    dev
    or
    staging
    in multiple projects? If I try, I am told that stack already exists.
    f
    • 2
    • 5
  • e

    enough-garden-22763

    10/17/2022, 5:50 PM
    For users with large stacks or slow network connections: Pulumi released an experimental optimization to the protocol between Pulumi CLI and the service backend that reduces communication bandwidth. To try it out set
    PULUMI_OPTIMIZED_CHECKPOINT_PATCH=true
    in the environment.
  • p

    purple-angle-61594

    10/17/2022, 7:25 PM
    Anyone know of any resources comparing Pulumi Service with Spacelift? Context: My team is currently considering Atlantis vs Spacelift in the context of improving our (frustrating) Terraform workflow. Want to make the argument that the Pulumi framework has these things integrated and our time would be better spent migrating to Pulumi Thanks!
    b
    • 2
    • 3
  • c

    crooked-student-89656

    10/17/2022, 9:04 PM
    hey im new to pulumi and subsequently go, and I am learning both for a job that I am currently interning for. is there anyone willing to possibly provide me some private help in learning things necessary to completing a project im working on?
    g
    s
    • 3
    • 2
  • c

    colossal-flower-74958

    10/17/2022, 11:59 PM
    👋 Hi everyone! whats the best place to ask questions about Serverless development with Pulumi
    b
    • 2
    • 2
  • g

    gorgeous-accountant-60580

    10/18/2022, 7:45 AM
    Good morning! I’ve got some databases in Azure, that have child resources that would be deleted if the database instance itself were deleted. However, when I do a deletion in Pulumi, the child resources are deleted first, which is very inefficient. Can I express that these are deleted as part of deleting the parent resource?
    e
    • 2
    • 2
  • q

    quick-plumber-17782

    10/18/2022, 8:25 AM
    Hi , I am new to pulumi and wanted to create an aws AMI From Instance using this code:
    const backup = new aws.ec2.AmiFromInstance(`try-AMI`,{
      sourceInstanceId : 'i-0000000000',
      description:`AMI from instance`, 
      snapshotWithoutReboot:1
     
    })
     
    // Export the name of the bucket
    exports.backupName = backup.name;
    exports.backupId = backup.id;
     
    exports.backupArn = backup.arn;
    I got this error :
    error: update failed
    
     aws:ec2:AmiFromInstance (try-AMI -1892022115):
       error: 1 error occurred:
           * error creating EC2 AMI try-AMI -1892022115-a6bdcdd) from EC2 Instance ('i-0000000000'): InvalidInstanceID.NotFound: The instance ID 'i-0000000000'' does not exist
           status code: 400, request id: c8ef283f-2cec-4e95-8439-d03cd3369c9b
    in the aws managment console, I see the instance (running) , can anybody help me please ? thank you.
    m
    • 2
    • 2
  • e

    early-account-23166

    10/18/2022, 9:17 AM
    Hi, I have a question regarding to pulum-snowflake. I'm trying to grant SELECT all tables in database to role and it should be done like this in snowflake:
    GRANT SELECT ON ALL TABLES IN SCHEMA dbtest.schema1 TO ROLE role_name;
    . But in pulumi-snowflake, it seems to be no way to do such thing.
    TableGrant
    as below:
    def TableGrant(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   database_name: Optional[str] = None,
                   enable_multiple_grants: Optional[bool] = None,
                   on_future: Optional[bool] = None,
                   privilege: Optional[str] = None,
                   roles: Optional[Sequence[str]] = None,
                   schema_name: Optional[str] = None,
                   shares: Optional[Sequence[str]] = None,
                   table_name: Optional[str] = None,
                   with_grant_option: Optional[bool] = None)
    table_name
    type is string, accepting only one table at a
    TableGrant
    call. Is there a way to grant privilege on ALL tables to role in pulumi-snowflake? Thank you.
  • b

    brief-alligator-51254

    10/18/2022, 10:17 AM
    How can I "_hot reload_" my lambda functions using Pulumi? I have been using
    aws.lambda.Function
    to deploy to my localstack setup and I was hoping I could have a fast way to iterate over local changes, but I couldn't find a way to do so. I noticed that
    aws.lambda.Function
    zips the code (
    pulumi.asset.AssetArchive
    ), which means that enabling hot swapping in localstack won't make any difference unless we have a way to make Pulumi repack the content of the lambda on demand. • I have tried using pulumi watch, but with no success. It seems that only the pulumi code is being watched, not the code of the lambda functions. • I have also tried running
    pulumi up
    every time a change was made on the lambda code, but that has extreme bad performance and possibly other side effects. What should I be looking at? Are there workarounds I could be trying?
    b
    c
    • 3
    • 6
  • s

    sparse-battery-7339

    10/18/2022, 12:18 PM
    👋 Hi everyone!
  • b

    bland-tailor-50336

    10/18/2022, 2:39 PM
    👋 Hi everyone! Pulumi noob here... Pretty impressed by the capabilities with pulumi thus far... but have run into some frustrations. Right now I'm using TS to write pulumi scripts for the AWS Provider. I am having trouble with my particular configuration... which I feel like should be simple enough but I'm having issues! https://www.reddit.com/r/pulumi/comments/y78fqm/how_to_cache_resources_that_havent_changed_rather/
    m
    • 2
    • 43
  • b

    bland-tailor-50336

    10/18/2022, 2:40 PM
    I posted the question to Reddit although I'm not sure if this is the appropriate venue for asking these questions
  • b

    bland-tailor-50336

    10/18/2022, 2:42 PM
    Basically I'm trying to pull resources from cache if they haven't changed rather than have pulumi rebuild potentially a thousand resources only to then compare them to AWS state and realize there is no change.
  • b

    bored-baker-95734

    10/18/2022, 2:48 PM
    Is there any channel for pulumi-eks ? I reported a bug to get some help out of it .
    m
    • 2
    • 2
  • m

    most-mouse-38002

    10/18/2022, 2:53 PM
    Do you need to maintain a backend for Pulumi, or is it enough to keep stack.json in git, and lock down the secret key/password for Pulumi-$env.yaml? I dont really see a big reason for e.g. introducing azure blob storage for Pulumi state if it can live in git without any problems? Or does it affect any parts of how Pulumi behaves (e.g. between stacks in a mono-repo)?
    b
    f
    • 3
    • 7
  • j

    jolly-addition-88642

    10/18/2022, 9:39 PM
    Hi everyone! Pulumi noob here. I have an existing cert in GCP and I'm trying to do an import of a self managed cert but I always get warnings about a missing private_key. I figure I am running the command incorrectly. Do I need to specify a private key file during the import? pulumi import gcp:compute/sSLCertificate:SSLCertificate test_cert my_gcp_project/test_cert Any help appreciated. https://www.pulumi.com/registry/packages/gcp/api-docs/compute/sslcertificate/ Error:
    warning: One or more imported inputs failed to validate. This is almost certainly a bug in the `gcp` provider. The import will still proceed, but you will need to edit the generated code after copying it into your program.
        warning: gcp:compute/sSLCertificate:SSLCertificate resource 'test_cert' has a problem: Missing required argument: The argument "private_key" is required, but no definition was found.. Examine values at 'SSLCertificate.PrivateKey'.
    l
    • 2
    • 7
  • l

    little-cartoon-10569

    10/18/2022, 10:56 PM
    Is there a way to tell if code is running in a test? I think there used to be, but I can't find it any more. There's some functionality that's breaking tests, and I'm happy to live without while running my tests, but that means my component resources need to know if they're being constructed in a test stack or a real one...
    a
    • 2
    • 6
  • c

    colossal-flower-74958

    10/19/2022, 12:20 AM
    How do I switch the node runtime in a https://github.com/pulumi/pulumi-cloud app
  • r

    rough-jordan-15935

    10/19/2022, 7:33 AM
    hey all when im deploying an API Gateway for AWS using Pulumi, i have to deploy it twice whenever i add or remove a resource. Else i get an error called “Unexpected token e in parse json” when the lambda is invoked from api gateway. however, from the second deployment it works
  • a

    adorable-butcher-51503

    10/19/2022, 7:42 AM
    I want to build up an EKS, but it show this error message. how to solve this problem
    b
    e
    • 3
    • 12
  • a

    adorable-butcher-51503

    10/19/2022, 7:43 AM
  • b

    big-balloon-17802

    10/19/2022, 8:50 AM
    Hi everyone, have a question is there any way to get
    branch name
    or
    commit sha
    for pulumi stack using cli?
    pulumi stack --stack stack_name
    doesn’t show. Still this information is available in pulumi app, Cheers !
    e
    • 2
    • 9
  • g

    great-sunset-355

    10/19/2022, 9:53 AM
    Hi I created this issue https://github.com/pulumi/pulumi/issues/11081 it has been present for over a year and I could not find the duplicate, is there a chance it has been already reported or is it being worked on?
    e
    • 2
    • 1
Powered by Linen
Title
g

great-sunset-355

10/19/2022, 9:53 AM
Hi I created this issue https://github.com/pulumi/pulumi/issues/11081 it has been present for over a year and I could not find the duplicate, is there a chance it has been already reported or is it being worked on?
e

echoing-dinner-19531

10/19/2022, 3:45 PM
I think there's a few issues that are similar, https://github.com/pulumi/pulumi/issues/2522 for one. It's not actively being worked on, we're probably not going to do anything around names until 4.0. The risk of breaking things is really high for something so core.
View count: 1