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

    green-morning-1318

    03/18/2020, 9:46 PM
    Hi team, I have a suggestion for the UI… is there a repo or way that I need to create an issue for it? What would be great is that the pulumi website remembers the group and sort order. So when I set the Group By to a specific tag, go to a stack and go back it would be nice if it remembered the Group By setting 🙂
    c
    f
    • 3
    • 3
  • b

    boundless-insurance-52858

    03/18/2020, 10:42 PM
    @colossal-beach-47527 in which release will this fix be available? https://github.com/pulumi/pulumi/pull/4094
    🚀 2
    w
    • 2
    • 2
  • g

    green-morning-1318

    03/19/2020, 2:17 AM
    One more question… one of the ResourceOptions that Pulumi has is called
    DeleteBeforeReplace
    , when set to true, ensures that this resource is deleted prior to replacement. It looks like it doesn’t do the same for a “_Create_”. In my case, I’m using an API Gateway on AWS and when I make changes to resources they should be deleted before creating them (otherwise you get an error). Is there a way to do that in Pulumi?
    w
    • 2
    • 2
  • b

    bitter-dentist-28132

    03/19/2020, 1:48 PM
    did the docker image update helm to v3?
  • b

    bitter-dentist-28132

    03/19/2020, 1:49 PM
    ok yeah, started breaking my CI 😞
    😞 1
    g
    • 2
    • 2
  • r

    rapid-lamp-57703

    03/19/2020, 3:17 PM
    Hi guys, I'm experimenting as usual. Looking at static websites... got that working FINE... using the container name of $web - then i thought what if i want to tweak the container properties...... so i added a container with that same name.. hoping that pulumi would regnosie it already existed and just bind/map to it... but it get an error. any tips on how you could achieve this?
    g
    • 2
    • 2
  • c

    cool-egg-852

    03/19/2020, 3:50 PM
    Anyone ever get an error like
    <p>The requested URL <code>/v1beta1/us-east1/linio/general-6133f72?alt=json&prettyPrint=false</code> was not found on this server.  <ins>That's all we know.</ins>
    when trying to apply an update to their node pool in GKE?
    • 1
    • 4
  • f

    few-processor-86645

    03/19/2020, 4:04 PM
    I've opened my account on pulumi at a time where only Github authentication was possible. Is there a way to delete this account and recreate a new one with email auth?
    g
    • 2
    • 1
  • s

    some-doctor-62800

    03/19/2020, 4:25 PM
    @white-balloon-205 is support at all manned last few days?
    w
    • 2
    • 2
  • h

    handsome-actor-1155

    03/19/2020, 4:29 PM
    I’m getting this error when trying to upgrade. It worked fine yesterday. Any thoughts?
    👍 1
  • b

    big-potato-91793

    03/19/2020, 5:45 PM
    Any reason why the pulumi container image as all sdk in it? Should it be better to split it a little?
    b
    b
    c
    • 4
    • 7
  • a

    astonishing-quill-88807

    03/19/2020, 5:55 PM
    I'm interested in the promise of Pulumi for being able to work in Python rather than JSON/HCL, but I'm a bit dubious about the viability of keeping up with the breadth of coverage that Terraform has in the available providers. For my particular case, I'm in the process of migrating some workloads to Nomad and there isn't yet a resource type for that in Pulumi. There is a github issue from 2 years ago asking for one, but there hasn't been any movement to create it. I started on the path of using the tfbridge and boilerplate, but the level of effort involved is still a bit unclear and I'm hesitant to go too far down that rabbit hole...
    b
    • 2
    • 3
  • f

    fast-dinner-32080

    03/19/2020, 6:52 PM
    Hey guys, I am curious on how often the pulumi terraform providers release new versions to support the newer SDK version of Pulumi? Currently the dotnet kubernetes provider needs 1.12.1 but most of the other providers require a lower version. This makes it impossible to upgrade the kubernetes provider to add new fixes in the same project.
    w
    t
    • 3
    • 7
  • b

    big-potato-91793

    03/19/2020, 9:36 PM
    it’s possible to create our own pulumi template? So when we do,
    pulumi new
    we could our template base on the one that pulumi is offering.. like adding eslint or other things
    h
    • 2
    • 4
  • g

    green-morning-1318

    03/19/2020, 11:08 PM
    Do we have any CircleCI experts here? 🤔 I’m trying to use the Pulumi Orb to update my stack but I get an exception:
    pulumi update --stack retgits/dev --cwd ~/project/pulumi --skip-preview
    Updating (dev):
    @ Updating....
     
    Permalink: <https://app.pulumi.com/retgits/acmeserverless-payment/dev/updates/5>
    error: failed to discover plugin requirements: failed to execute program cmd: exit status 1
    
    Exited with code exit status 255
    It runs fine on my Mac, so would anyone have thoughts on how to debug this?
    w
    l
    • 3
    • 8
  • c

    calm-quill-21760

    03/20/2020, 12:14 AM
    My apologies if this has already been reported, but attempts to download Pulumi 1.13 for MacOS fail (URL https://get.pulumi.com/releases/sdk/pulumi-v1.13.0-darwin-x64.tar.gz):
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>2607D7593AFB741F</RequestId>
    <HostId>
    lYM2+bELcS/KWDuxMZaB3gDjhVVyuimL2ga/rNwJYjkrXbtmkcAh5xiFnO322owuOBrazv+4LqA=
    </HostId>
    </Error>
    g
    b
    w
    • 4
    • 8
  • a

    adorable-action-51248

    03/20/2020, 10:16 AM
    Hello ! I was wondering how can I best write a (js) script that creates a GCE disk from the latest and non-pending snapshot ?
    g
    • 2
    • 4
  • a

    adorable-action-51248

    03/20/2020, 11:34 AM
    A follow up question: is there a good way to ask the user who deploys if they want to use a snapshot or keep the current disk ? I am thinking to use an environment variable for this at the moment. Since the output of my index.js is buffered. I cannot prompt the user while executing the script, which would be my preferred method. So that I can display some choices.
    g
    • 2
    • 5
  • a

    adorable-action-51248

    03/20/2020, 4:39 PM
    I am trying to build a custom dynamic provider in order to reboot an instance. I am bumping into one issue regarding function serialization. i saw the example https://github.com/pulumi/examples/tree/master/aws-ts-ec2-provisioners and i am a bit confused how the serialization works there. since the provisioners pull in a lib ssh2 which in turn uses the crypto module and net module. these packages are native. are some native libraries whitelisted ?
    l
    • 2
    • 4
  • b

    breezy-hamburger-69619

    03/20/2020, 5:46 PM
    We’ll be hosting open office hours today @ 12pm PT in a Zoom room if folks would like to chat about general Pulumi use, cloud providers, and Kubernetes. Join us with any questions, or say hi 🙂 https://zoom.us/j/159381380 https://twitter.com/PulumiCorp/status/1241056863006973953
    🙌 2
  • g

    green-morning-1318

    03/20/2020, 6:06 PM
    Awesome idea!
    👍 1
  • b

    breezy-hamburger-69619

    03/20/2020, 7:01 PM
    Office hours have started. Bring any q/a you might have, or come hang with us: https://zoom.us/j/159381380
  • c

    colossal-room-15708

    03/21/2020, 3:53 AM
    Does
    pulumi.asset.FileArchive
    ignore folders with
    .
    ? It looks like it's not packaging up my
    .python_packages
    folder.
    w
    • 2
    • 2
  • b

    bland-guitar-34582

    03/21/2020, 6:10 AM
    We are facing the problem that the aks cluster was replaced all the time when running pulumi up when doing k8s.rbac.v1.RoleBinding. And according to this code in pulumi provider, there is a note "We can't tell for sure if a computed value has changed, so we make the conservative choice, and force a replacement.". Is there any way to avoid this replacement all the time?
    // <https://github.com/pulumi/kubernetes-guides/blob/master/azure/03-cluster-configuration/index.ts>
    const aksProvider = new k8s.Provider("aksProvider", {
        kubeconfig: aksCluster.kubeAdminConfigRaw
    });
    
    const aksRoleBinding = new k8s.rbac.v1.RoleBinding(`${config.prefix}-aad-integration`, ..., { provider: aksProvider })
    👍 1
    l
    • 2
    • 1
  • p

    polite-motherboard-78438

    03/21/2020, 3:51 PM
    Hello. anyone with experience on doing unit / integration testing with Pulumi? I managed to to a basic test to check if my Kubernetes cluster was created with the specified tags. But now I would like to do some more tests to check for example an helm have received the correct values / a configMap would be created with a specific content? Can I do it in an "Unit test style" in Typescript or do I need to use the Go integration testing framework? I tried to following but didnt went well: ( TypeError: Cannot read property 'invoke' of undefined)
    test("It creates the correct configMap", done => {
        fluentBitChart
          .getResource("v1/ConfigMap", "fluent-bit-config")
            .apply(cm => {
              // TODO check if the data has correct value
            console.log(cm.urn);
            done();
          });
      });
    Note that fluentBitChart is an instance of "k8s.helm.v3.Chart". Baically I want to write a test to validate the Helm resource received the correct values, some of them are reading from config etc
    t
    • 2
    • 1
  • a

    acoustic-leather-88378

    03/21/2020, 9:17 PM
    When using the Kubernetes provider and creating a Kubernetes
    CustomResource
    , for example:
    ...
    new CustomResource("test-cluster", {
        apiVersion: "<http://acid.zalan.do/v1|acid.zalan.do/v1>",
        kind: "postgresql",
        metadata: {
            name: "test-cluster"
        },
        spec: {
          ...
        }
    }
    ...
    and that custom resource results in other new resources being created by an operator. For example a
    StatefuleSet
    , multiple `Secret`'s etc. If, in the same Pulumi program, after creating the
    CustomResource
    I want to import and use those new resources (created by the operator, when the new
    CustomResource
    above was created), how would I import them? Currently
    pulumi up
    will fail on the preview with a "resource ... does not exist" error, since the resource that would be created once run, isn't there yet. Is there an elegant/any way to handle this?
    w
    • 2
    • 3
  • g

    green-morning-1318

    03/21/2020, 11:18 PM
    What do you do when you want to learn something new, have to stay indoors all day, and have a few K8s manifests lying around?… exactly you build a Pulumi project to deploy an app with • 5 secrets • 2 configmaps • 12 deployments • 12 services • 2 nodeports Built it with TypeScript, because I’d never done that before and I’m kinda pleased with the result 😅 https://github.com/retgits/acmefitness-pulumi
    👌 1
    🎉 4
    r
    • 2
    • 7
  • g

    green-morning-1318

    03/21/2020, 11:19 PM
    ^^ @breezy-hamburger-69619 as promised, I deployed an app to K8s this weekend 😉
    🎉 2
    b
    • 2
    • 1
  • f

    famous-kite-69533

    03/22/2020, 5:53 PM
    Hi all! I started using Pulumi this afternoon 😄 First question: how do I delete all the resources created in a stack, without deleting the stack and its config/secrets?
    t
    • 2
    • 2
  • b

    brainy-table-30266

    03/22/2020, 6:50 PM
    Hi, I've been playing around with the quickstart, good stuff. In my activity feed on the app.pulumi.com, I see a (seemingly) random user linked to some of my updates. Any ideas why?
    • 1
    • 2
Powered by Linen
Title
b

brainy-table-30266

03/22/2020, 6:50 PM
Hi, I've been playing around with the quickstart, good stuff. In my activity feed on the app.pulumi.com, I see a (seemingly) random user linked to some of my updates. Any ideas why?
Here is what I see
I have my git.committer.email and git.author.email set to the github generated email: 1309462+moerketh@users.noreply.github.com , perhaps it's confused by this.
View count: 1