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

    big-nail-28315

    10/07/2019, 3:08 PM
    Does anyone have an example of a Global RDS using Aurora?
    b
    a
    • 3
    • 16
  • c

    cool-egg-852

    10/07/2019, 6:02 PM
    @colossal-beach-47527 Since I just saw your comment on the yarn/npm thing (I already replied), do you guys plan to port this logic over to other stuff such as the policy packs?
    c
    m
    • 3
    • 5
  • i

    incalculable-diamond-5088

    10/07/2019, 6:24 PM
    Hi, i need to move a stack into an organization. Can you help?
    b
    g
    • 3
    • 4
  • g

    gray-nest-70702

    10/07/2019, 7:43 PM
    Is there a way to get AWS IAM Access Key secrets to be encrypted with the default Pulumi secret encryption? I know there is the option to provide a PGP key that will encrypt the secret. But it would be cleaner to use the same encryption mechanism used for other secrets in the state.
    b
    • 2
    • 4
  • w

    worried-city-86458

    10/07/2019, 8:15 PM
    FYI: my Pulumi code for configuring resource metrics using the Prometheus Adapter via a Helm chart on AWS EKS https://github.com/coreos/kube-prometheus/pull/254#issuecomment-539170450 (It took me a while to learn all the Prometheus things to get this right, so hopefully I can save someone else the pain.)
  • b

    broad-dog-22463

    10/07/2019, 8:15 PM
    @worried-city-86458 I'd love to see if you could turn that into a guest blog post for us?
    w
    • 2
    • 2
  • b

    broad-dog-22463

    10/07/2019, 8:15 PM
    (us being Pulumi)
  • a

    acceptable-army-69872

    10/07/2019, 8:29 PM
    Is there a straight forward way to profile a refresh? This stack has like 20 some odd vpcs, and some of them are peered, but I can't help but feel it's refreshing the same resources several times. It's upwards of 30 minutes to run a refresh. I've done equally complex resources layouts in other IaC languages and even 10 minutes is long.
    w
    w
    +2
    • 5
    • 16
  • a

    acceptable-army-69872

    10/07/2019, 8:30 PM
    Like, maybe it's a simple as something being scoped wrong, or not exporting, or a var instead of a const...
  • e

    early-intern-90238

    10/07/2019, 11:22 PM
    Hey guys, do you think you will be adding ReleaseChannel to kubernetes soon?
    • 1
    • 2
  • e

    early-match-56268

    10/07/2019, 11:30 PM
    hey all, I just upgraded to 1.2 and now pulumi is trying to add annotations such as the following to the resources in my k8s cluster
    ~ metadata: {
              + annotations: {
                  + <http://pulumi.com/initialApiVersion|pulumi.com/initialApiVersion>: "v1"
                }
            }
    this is causing resources to try to update/delete when they have not changed. Is there any way to work around this?
    w
    w
    c
    • 4
    • 10
  • s

    salmon-account-74572

    10/08/2019, 3:44 AM
    Does anyone have any "best practices" or recommended guidelines with regard to Pulumi and version control? What files, if any, should be excluded?
    w
    • 2
    • 1
  • e

    elegant-dress-88912

    10/08/2019, 1:16 PM
    how can I specify default values for stack configuration? For now the only way I see is:
    const config = new pulumi.Config();
    const configVar:string = config.get('configVar') ? config.get('configVar') : 'someDefaultValue'
  • b

    broad-dog-22463

    10/08/2019, 1:17 PM
    You can do something like
  • b

    broad-dog-22463

    10/08/2019, 1:18 PM
    const config = new Config(); const myValue = config.get(“variable”) || “default”;
    b
    • 2
    • 1
  • s

    stocky-island-3676

    10/08/2019, 1:25 PM
    Someone knows about this?
  • e

    early-intern-90238

    10/08/2019, 2:00 PM
    Hey guys, quick question on how you are doing branching with dev, stage, and prod. I get you can setup branch mapping using ci.json, that's fine and makes sense. But first question, how are you promoting your builds into production? Are you using Releases to trigger that? That was what I was going to do...Secondly, how are you handling developer stacks? Do you host those in cloud or on dev machines? How are you handling those stacks in Pulumi? A stack per a dev?
    c
    • 2
    • 2
  • n

    nice-cat-91582

    10/08/2019, 2:57 PM
    Does anyone ever have issues with
    pulumi up
    not picking up changes to Lambda environment variables?
  • n

    nice-cat-91582

    10/08/2019, 2:57 PM
    It seems like sometimes I have to change the variable name for it to pick up, or in rare situations no matter what I do I just have to go edit them manually in AWS'
    c
    f
    c
    • 4
    • 5
  • q

    quaint-teacher-33292

    10/08/2019, 4:54 PM
    I updated my setup from 0.17.21 to 1.2.0 (and appropriate plugins). Now I'm trying to raise
    minMasterVersion
    of my GCP k8s cluster, which properly shows it needs updating (as opposed to recreating). However, I then have a custom pulumi k8s provider stitched together based on
    pulumi.all([ cluster.name, cluster.endpoint, cluster.masterAuth ])
    And all k8s resources are using this explicit
    k8s.Provider
    , and they're all showing
    replace
    strategy if I decide to raise my minMasterVersion. I don't remember this happening with 0.17.21, which has me very worried. I wanted to use the selective update with
    --target urn
    , but this has not landed in 1.2.0, despite the changelog indicating such. Did anyone face this? Can I expect all my stuff using this
    k8s.Provider
    to remain the same as long as that provider is created/configured the same at runtime?
    w
    g
    • 3
    • 10
  • p

    plain-businessperson-30883

    10/08/2019, 5:22 PM
    Does anyone know how to retrieve the token from a freshly created ServiceAccount in Pulumi? Since the secret name of the token is dynamic, I'm not very sure on how to retrieve it in Pulumi.
    q
    s
    • 3
    • 6
  • n

    nice-cat-91582

    10/08/2019, 9:05 PM
    👋 trying to get Sequelize to work in a CallbackFunction, but I'm getting
    the function form was not understood.
    when
    Sequelize.UUID
    is parsed
  • n

    nice-cat-91582

    10/08/2019, 9:05 PM
    found this in the Pulumi source:
  • n

    nice-cat-91582

    10/08/2019, 9:05 PM
    if (funcString.startsWith("[Function:")) {
            return [`the function form was not understood.`, <any>undefined];
        }
  • n

    nice-cat-91582

    10/08/2019, 9:05 PM
    Does that just mean... there's no way to do this?
    l
    • 2
    • 56
  • p

    purple-appointment-43233

    10/08/2019, 10:55 PM
    Hey all, I’m returning to a stack that I haven’t used in a few weeks and Pulumi seems to be hanging indefinitely on a call to
    aws.route53.getZone({ name: domainParts.parentDomain }).then(zone => zone.id)
    . This is a copy & paste (and very lightly edited) version of the published example on deploying a static website to S3. Any thoughts as to what could be going on? The only thing I can think of that materially changed was that I upgraded to catalina, and had to upgrade some node packages to get it to build…
    g
    • 2
    • 10
  • w

    white-balloon-205

    10/08/2019, 11:36 PM
    Just a heads-up - we've heard a couple reports in the last 24 hours of folks upgrading to macOS Catalina and using Node 12 hitting hangs when using Pulumi - see https://github.com/pulumi/pulumi/issues/3309 for details. We are actively looking into this, but for now, we suggest that folks upgrading to Catalina ensure they are using Node 10 (the current LTS release).
  • e

    early-intern-90238

    10/08/2019, 11:58 PM
    From what I hear, you should probably avoid upgrading to Catalina in general haha.... 🙂
  • d

    damp-notebook-63293

    10/09/2019, 7:36 AM
    Is it just me or Pulumi has trouble interpolating values using Downward API? I have the following set in my Deployment, but
    DISCOVERY_HOSTNAME
    resolves to a blank value.
    env: [
      {
        name: 'DISCOVERY_HOSTNAME',
        valueFrom: {
          fieldRef: {
            fieldPath: 'status.podIP'
          }
        }
      },
    ],
    g
    • 2
    • 3
  • r

    red-football-97286

    10/09/2019, 10:02 AM
    After a bit of help trying to get pulumi aws with Python to work.
    pulumi:pulumi:Stack (dev-dev):
        Traceback (most recent call last):
          File "C:\pulumi\bin\pulumi-language-python-exec", line 14, in <module>
            import pulumi
        ModuleNotFoundError: No module named 'pulumi'
        It looks like the Pulumi SDK has not been installed. Have you run pip install?
        If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.
    
        error: an unhandled error occurred: Program exited with non-zero exit code: 1
Powered by Linen
Title
r

red-football-97286

10/09/2019, 10:02 AM
After a bit of help trying to get pulumi aws with Python to work.
pulumi:pulumi:Stack (dev-dev):
    Traceback (most recent call last):
      File "C:\pulumi\bin\pulumi-language-python-exec", line 14, in <module>
        import pulumi
    ModuleNotFoundError: No module named 'pulumi'
    It looks like the Pulumi SDK has not been installed. Have you run pip install?
    If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.

    error: an unhandled error occurred: Program exited with non-zero exit code: 1
View count: 1