• m

    melodic-car-16900

    6 months ago
    --expect-no-changes                     Return an error if any changes occur during this update
    is somewhat ambiguous
    m
    w
    +1
    9 replies
    Copy to Clipboard
  • m

    microscopic-actor-20127

    6 months ago
    Hey folks, I'm trying to use Pulumi to tear down a stack that includes an Azure Blob Storage account, and it's giving a strange error. The error is attached in the thread. We are able to tear down all other Azure resources, but Azure Blob errors out and requires us to remove it manually either using the portal or the Azure CLI. Any help would be much appreciated.
    m
    3 replies
    Copy to Clipboard
  • q

    quick-airport-30353

    6 months ago
    Hi, one more pulumi question for the day. I'm setting up my build environment. does the TypeScript project use nodejs? Do I setup my build scripts to use node? Is there any documentation surrounding this?
    q
    l
    +1
    4 replies
    Copy to Clipboard
  • b

    billowy-horse-79629

    6 months ago
  • b

    billowy-horse-79629

    6 months ago
    Hey guys, how can I deploy my pulumi project to my organization ? When i’m deploying the pulumi project with my access key, the stack creates under my personal account. Thanks 😄
    b
    m
    +1
    6 replies
    Copy to Clipboard
  • a

    adorable-gpu-98268

    6 months ago
    Hi, this is maybe not pulumi specific, but I’m wondering what’s the best practice to deal with this: I have a project that will build docker images, push them to AWS ECR and then invoke a pulumi stack that does setup lambda functions with these images. How do you go about the “tagging” the images so that the
    pulumi up
    step will update the lambda function if a new image has been pushed? If I use “latest” as tag, it will not update, as pulumi does not detect any changes and lambda functions do not automatically pull in new images. Do you have any examples that you could point me to? I’d like to get an idea of the options & best practices here.
    a
    e
    3 replies
    Copy to Clipboard
  • b

    billowy-horse-79629

    6 months ago
    Hey guys, another question, this time related to Pulumi Github App - Installed the app, gave it permission for my specific repo, and for some reason it doesn’t comment on my PR, in addition, as shown on the screenshot, the action failed, which I don’t really figure why. Followed this doc page : https://www.pulumi.com/docs/guides/continuous-delivery/github-app/ Any idea why it happens ? Thanks !
    b
    m
    +1
    10 replies
    Copy to Clipboard
  • p

    polite-motherboard-91774

    6 months ago
    Hi everyone! I'm relatively new to Pulumi and ran into an issue with left over pending_operations. I have fixed them in the past but when reading up more on how to do it "correctly" I ran across what I think is conflicting instructions. "pulumi up" tells me that I need to look for any completed operations on AWS and then clear them from pending_operations, see attached image with my yellow highlight. It doesn't say what to do with uncompleted operations though...? The online documentation however says that I should clear the pending_operations and then for each item in it look for it on AWS and remove it:
    You should then export and import your stack. This will clear your state's stack of all pending operations.
    [...]
    For every [pending_operation] you should verify with your cloud provider whether or not this operation was successful. If the operation was successful, and a resource was created, you should delete that resource using your cloud provider's console, CLI, or SDK.
    https://www.pulumi.com/docs/troubleshooting/#interrupted-update-recovery To me this sounds like one source saying I should remove any created resources listed in pending_operations while the other source says that I should leave them be. Or am I misreading it?
    p
    b
    +1
    11 replies
    Copy to Clipboard
  • m

    melodic-horse-69239

    6 months ago
    Hi everyone, i have a question related to pulumi setting up a AWS EKS. Currently i have the issue that the EKS fails to setup the VPC CNI with following error: “You must be logged in to the server (the server has asked for the client to provide credentials)“. When i manually get a kubeconfig from aws-cli for the pulumi created EKS i can use kubectl just fine. We use temporary credentials since we have SSO enabled. Maybe there is an issue with that and how kubectl tries to generate EKS tokens?
    m
    b
    10 replies
    Copy to Clipboard
  • b

    big-psychiatrist-43588

    6 months ago
    Hey guys, pulumi.apply is running asynchronously while i need to make it run synchronously Scenario, i am trying to get the state of an existing service account
    let resourceId : pulumi.Input<string> = "thx/".concat(sharedSecret.name); //"namespace/shared-keystore-jks-ksa" ;
    let secrets: pulumi.Output<output.core.v1.ObjectReference[]> = k8s.core.v1.ServiceAccount.get("ksa-".concat(sharedSecret.name),resourceId).secrets;
    Post retrieving the secret, i am trying to find the secret name and use the name to supply for further use
    //works asynchronously
    secrets.apply(v => {
                console.log("Secret Name ", v[0].name);
    secretName_list.push(v[0].name);
            });
    console.log(secretName);//print secret name
    Complete program
    1. var serviceAccountArray = [];
    2. var secretName_list=[];
    3. 
    4. serviceAccountArray.forEach(ksa => {
    5.     let resourceId : pulumi.Input<string> = "thx/".concat(ksa.name); //"namespace/shared-keystore-jks-ksa" ;
    6.     let secrets: pulumi.Output<output.core.v1.ObjectReference[]> = k8s.core.v1.ServiceAccount.get("ksa-".concat(ksa.name),resourceId).secrets;
    7. //running asynchronously
    8. secrets.apply(v => {
    9.          console.log("Secret Name ", v[0].name);
    10.         secretName_list.push(v[0].name);
    11.      });
    12.  console.log(secretName_list); //print secret name empty because of apply
    13. });
    Line no. 10 get executed after line no. 12 at the end of the program while i wanted to wait for the execution to get it complete. Any idea how this can be sort out. Thanks!
    b
    e
    9 replies
    Copy to Clipboard