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

    important-leather-28796

    11/08/2019, 10:29 PM
    Why does an unchanged gke/k8
    ClusterRoleBinding
    show as an update?
    g
    • 2
    • 2
  • b

    bumpy-breakfast-57632

    11/08/2019, 10:59 PM
    did the way pulumi gets aws credentials change somehow? because now it fails when it didn't before, I have them in the Pulumi.stack.yaml file and it seems to ignore it and use whatever's in the .aws folder, but it was working previously without any .aws folder
  • e

    early-intern-90238

    11/09/2019, 1:20 AM
    Pretty sure RabbitMQ is melting my brain....
  • e

    early-intern-90238

    11/09/2019, 1:21 AM
    I am working on getting this working with Pulumi, its pretty straightforward...I'll add it the examples when I am done. https://github.com/rabbitmq/rabbitmq-peer-discovery-k8s/tree/master/examples/k8s_statefulsets
  • f

    fancy-translator-86814

    11/09/2019, 11:55 AM
    Any update on CircleCI orb for Pulumi? It seems great new features are coming in new version such as
    stack_init
    ,
    stack_rm
    , and
    stack_output
    . I really looking forward to it.
    w
    s
    +2
    • 5
    • 6
  • b

    better-actor-92669

    11/11/2019, 3:00 PM
    Hi guys! If a pulumi resource hasn't been created properly and I want to force the redeploy. How can I do that? For example I couldn't create a GKE cluster, because of
    Cluster "gke-cluster-1" has terminal state "ERROR" with message "Retry budget exhausted (10 attempts): Google Compute Engine: A route in one of the active peer networks hides the address space of the new subnetwork."
    Now I want to recreate it, but I get
    Plan apply failed: googleapi: Error 409: Already exists: projects/.../zones/europe-west3-c/clusters/gke-cluster-1., alreadyExists
    I removed this resource from pulumi state directly with
    pulumi state rm urn
    , but the behaviour is the same.
    w
    • 2
    • 3
  • d

    delightful-lizard-41466

    11/11/2019, 3:35 PM
    Hi! Is there a proper way to reuse an "azure.storage.Account" resource created by a previous Pulumi stack? I'm trying to use the StackReference but without success, suggestions ? Thanks
    w
    • 2
    • 5
  • c

    creamy-shoe-96075

    11/11/2019, 5:03 PM
    Hi everyone, Im looking at app.pulumi.com and looks like pricing is related to amount of stacks. In this case if I do prefer “high granularity”(it has a lot of benefits) of stacks, app.pulumi.com becomes really pricy. What’s you opinion in this matter guys?
    w
    h
    • 3
    • 3
  • m

    modern-army-90330

    11/11/2019, 7:54 PM
    Has anyone run into issues with outputs on failed updates?
    w
    • 2
    • 2
  • e

    enough-ability-20396

    11/12/2019, 5:02 AM
    Hi! I inherited a GCP project setup done via Pulumi. When I run
    pulum preview
    or
    pulumi up
    commands, I see the following error log. Any ideas on what might be going on?
    $ pulumi preview
    Previewing update (solvvy/<redacted>):
    
         Type                 Name                       Plan     Info
         pulumi:pulumi:Stack  <redacted>           1   error
    
    Diagnostics:
      pulumi:pulumi:Stack (solvvy-ml-main):
        error: Running program '/Users/amey/work/code/infrastructure-live/gcp-projects/<redacted>/project' failed with an unhandled exception:
        Error: invocation of gcp:organizations/getActiveFolder:getActiveFolder returned an error: invoking gcp:organizations/getActiveFolder:getActiveFolder: Folder not found
            at monitor.invoke (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/runtime/invoke.js:74:33)
            at Object.onReceiveStatus (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:1205:9)
            at InterceptingListener._callNext (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:568:42)
            at InterceptingListener.onReceiveStatus (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:618:8)
            at callback (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:845:24)
            at Function.module.exports.loopWhile (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/deasync/index.js:71:23)
            at promiseResult (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/utils.js:70:13)
            at Object.liftProperties (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/utils.js:102:19)
            at Object.getActiveFolder (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/organizations/getActiveFolder.ts:37:25)
            at Object.<anonymous> (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/core-project.ts:9:21)
    
    Permalink: <https://app.pulumi.com/solvvy/><redacted>/<redacted>/previews/a98b9966-82b6-4be3-9cf3-4d1b3d3b937c
    FWIW I have
    owner
    access to the underlying GCP project and I am able to run
    pulumi
    commands on other stacks in the same project.
    g
    • 2
    • 6
  • m

    most-parrot-35986

    11/12/2019, 8:08 AM
    What is the preferred way to make sure Pulumi can validate the existence of a new EKS cluster and keep the EKS API endpoint private?
    b
    q
    • 3
    • 5
  • f

    freezing-kangaroo-92896

    11/12/2019, 8:48 AM
    I was trying out the .NET Core support using this sample: https://github.com/pulumi/examples/tree/master/azure-cs-appservice, and the initial deployment works well, but making changes to the "wwwroot/index.html" in the sample and doing "pulumi up" results in the following error: "panic: interface conversion: interface {} is nil, not map[string]interface {}", when it tries to update the Azure App Service settings. I'm unsure where to log an issue?
    b
    t
    • 3
    • 5
  • f

    fast-salesmen-9938

    11/12/2019, 3:00 PM
    Hello, quick question: are you planing to support kubernetes kops? Thx in advance.
    g
    c
    • 3
    • 15
  • b

    bright-lunch-89049

    11/12/2019, 6:30 PM
    and where is your channel, dedicated to .NET APIs?
    w
    • 2
    • 1
  • h

    high-quill-11351

    11/12/2019, 8:24 PM
    hi! I'm trying to do this (within an API Gateway route definition):
    eventHandler: async (event, context) => {
                    const serverless = require('serverless-http');
                    const app = require('./app');
                    const handler = serverless(app);
                    const result = await handler(event, context);
                    return result;
                }
    But the file in "./app" never gets uploaded to my lambda zip. Any clue?
    • 1
    • 1
  • s

    square-intern-22004

    11/13/2019, 12:54 AM
    Hello, I have a k8s Deployment (TypeScript) I am updating via
    pulumi up
    in which I have left out needed env vars for my container so the Pod enters a CrashLoopBackOff, I would expect the command to eventually fail with a non-zero exit code. However, all it does is warn about the CrashLoopBackOff and then completes with 0 exit. In k8s I can see the old revision is still working as expected and the new revision as status CrashLoopBackOff. Is there something I need to specify either in the cli command or my configuration to get the desired failure exit to occur?
    c
    w
    • 3
    • 12
  • a

    adventurous-garage-59192

    11/13/2019, 5:08 AM
    Hello. I've been testing the .net client over the last 24 hours to see if it's suitable to replace our ARM templates. It's going pretty well, but I have two questions: 1. How do people deal with the random AppService naming? The rest I get, but the name of the appservice also drives the URL it runs under, which has flow-on effects to stuff like custom domains, CORS policies, auth integration etc. Does every single person that uses Pulumi for app service deployment override the naming convention? 2. Currently we share a single resource group between our front-end and back-end arm templates, with the RG being created via the az command line if it doesn't exist already. How should this be represented within a Pulumi definition (considering we still want the stack definitions to remain separate between our front-end and back-end)?
    b
    t
    • 3
    • 8
  • m

    most-lighter-1731

    11/13/2019, 8:34 AM
    Hello all, I'm experiencing issues with inconsistent docker image builds. I'm rebuilding the stack now to see if this comes back on a clean slate. Any ideas where that could be coming from?
    • 1
    • 3
  • s

    salmon-account-74572

    11/13/2019, 8:39 AM
    Can anyone provide some insight on why changing tags on an EC2 Instance would necessitate a Replace instead of an Update when running
    pulumi update
    ?
    g
    • 2
    • 6
  • t

    tall-oil-62666

    11/13/2019, 8:48 AM
    Hey there, I've been playing around with Azure Devops and Pulumi, and I've had some mixed results, my immediate question is with relation to if using the Release Task https://marketplace.visualstudio.com/items?itemName=pulumi.build-and-release-task then how do I get the exported variables out of the task? Thanks!
    d
    c
    • 3
    • 2
  • f

    fancy-translator-86814

    11/13/2019, 9:19 AM
    Hi, pulumi hangs forever when I create Amazon Aurora like below.
    const aurora = new aws.rds.Cluster(util.name("aurora"), {
        engine: aws.rds.AuroraMysqlEngine,
        engineVersion: "5.7.mysql_aurora.2.06.0",
        dbSubnetGroupName: "rds-subgrp",
        masterUsername: stack.config.requireSecret("aurora_user"),
        masterPassword: stack.config.requireSecret("aurora_password"),
      });
    console output (hanging here):
    Resources:
        + 1 to create
        62 unchanged
    
    Updating (dev):
    
         Type                 Name                     Status         Info
         pulumi:pulumi:Stack  intelligence-dev         running...     read aws:autoscaling:Group asg-api-intelligence
     +   └─ aws:rds:Cluster   aurora-intelligence-dev  creating...
    my pulumi version: 1.5.1 my node version: 12.13.0 Any idea?
    g
    • 2
    • 5
  • f

    fancy-translator-86814

    11/13/2019, 9:23 AM
    Even with --verbose option, it says nothing.
  • t

    tall-oil-62666

    11/13/2019, 9:32 AM
    Thanks @delightful-lizard-41466 - I'll give that a go!
    👍 1
  • t

    tall-oil-62666

    11/13/2019, 10:09 AM
    And thanks again @delightful-lizard-41466 - that worked nicely - cheers need to perform a stack select first though, otherwise all good
    d
    • 2
    • 1
  • p

    prehistoric-analyst-52684

    11/13/2019, 11:57 AM
    I am creating an IAM user and and access key and marking the access key's secret as a secret using
    additionalSecretOutputs
    . I am taking the secret and putting it in Vault, using
    dataJson: accessKey.secret.apply(secret = JSON.stringify({ AWS_SECRET_ACCESS_KEY: secret }))
    . I expected the input to Vault to be encrypted, given that the input is a secret. How can I make it so that the secret is encrypted in my state file?
  • b

    better-actor-92669

    11/13/2019, 12:56 PM
    Hi guys! How to fix the error below?
    .pulumi/stacks/development.json: snapshot integrity failure; refusing to use it: resource urn:pulumi:development::smth-pulumi-1::kubernetes:core/v1:Service::ingress refers to unknown provider urn:pulumi:development::smth-pulumi-1::pulumi:providers:kubernetes::gke_k8s::58b9c381-c2ac-4ba7-8839-057752717b88
    State file is in a GCP bucket.
    a
    • 2
    • 2
  • m

    most-lighter-1731

    11/13/2019, 2:22 PM
    Forgot to post this here in the main thread. Thanks!
  • b

    billowy-laptop-45963

    11/13/2019, 4:41 PM
    I went to do a
    pulumi up
    today and the cli just drops after the confirmation prompt with
    error: confirmation cancelled, not proceeding with the update: EOF
    It seems similar to this closed issue https://github.com/pulumi/pulumi/issues/1762
    w
    • 2
    • 4
  • i

    icy-dress-83371

    11/13/2019, 5:05 PM
    hi all, probably a stupid question on my side here, but the documentation is slim on the remote state side of things. I know I need to do
    pulumi login
    <azblob://my-pulumi-state-bucket>
    if I want to store my state in an azure blob, but 1) I am trying to find an example to see the real syntax for that URL, also, 2) how does the authentication work for that?
    t
    n
    • 3
    • 8
  • w

    worried-city-86458

    11/13/2019, 5:38 PM
    @cool-egg-852 have you tried Pulumi with Helm 3 yet? 😛
Powered by Linen
Title
w

worried-city-86458

11/13/2019, 5:38 PM
@cool-egg-852 have you tried Pulumi with Helm 3 yet? 😛
View count: 3