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

    limited-rainbow-51650

    04/20/2021, 12:38 PM
    https://github.com/pulumi/actions/tags
  • p

    proud-pizza-80589

    04/20/2021, 12:39 PM
    building again! will report back when it is done
    b
    • 2
    • 3
  • b

    broad-dog-22463

    04/20/2021, 12:39 PM
    πŸ‘Œ
  • p

    proud-pizza-80589

    04/20/2021, 12:40 PM
    Like the new look and feel btw!
    πŸ”₯ 3
    b
    h
    l
    • 4
    • 7
  • c

    chilly-hairdresser-56259

    04/20/2021, 3:03 PM
    Does anyone know if you can create your own custom tags in the Docker Provider? If you set
    ImageName = blah:1
    it appears that Pulumi appends a dynamic hash. Is there a way to override?
    l
    • 2
    • 7
  • b

    bumpy-summer-9075

    04/20/2021, 3:31 PM
    How do you figure out the resource type string to use with
    pulumi import
    ? The way I do it right now is to create a fake resource in my code, run
    pulumi preview
    and get the string from there, it's not great but it works.
    r
    • 2
    • 8
  • t

    tall-shoe-66375

    04/20/2021, 3:45 PM
    CIVO Kubernetes Cluster error, Network Hello I’m trying to launch a PoC with Pulumi-Civo, it triggers an error:
    error: [ERR] failed to create the kubernets cluster: DatabaseNetworkLookupError: Failed to lookup a network within the internal database
    This is my code to create the Kubernetes Cluster on Civo
    export const kluster = new civo.KubernetesCluster("poc-k8s",
    {
        name: "Civo PoC GitOps",
        kubernetesVersion: config.civo.k3version,
        numTargetNodes: config.civo.nodes,
        targetNodesSize: config.civo.nodeSize,
        tags: "poc gitops webmago",
        applications: "argo cert-manager",
    },
    {provider: civo_provider}
    );
    • 1
    • 1
  • o

    orange-lawyer-86718

    04/20/2021, 4:26 PM
    Is there a Pulumi Discord, by chance?
    ☝️ 1
    πŸ’― 1
    b
    b
    +2
    • 5
    • 13
  • r

    red-match-15116

    04/20/2021, 5:40 PM
    For anyone interested in the code behind my automation API demo, and other automation-api related hacking I’ve been up to: β€’ https://github.com/komalali/self-service-platyform β€’ https://github.com/komalali/pulumi-automation-api-experiments β€’ A GIF of the TUI with go: https://twitter.com/zwitkali/status/1383134247729340416
    πŸŽ‰ 3
    πŸ™Œ 2
    πŸ”₯ 9
    ✨ 2
  • p

    purple-nail-36818

    04/20/2021, 6:54 PM
    I'm reviewing the Pulumi edition comparison chart and wondering what the inclusion of "APIS and webhooks" for Pro means. Are the APIs and Webhook features missing from Free/Community and Team Starter editions?
    b
    w
    • 3
    • 5
  • b

    billowy-laptop-45963

    04/20/2021, 7:19 PM
    Is it possible to have per stack backends? I tried adding this to my Pulumi.stack.yaml
    backend:
      url: <s3://bucket/>
    without success
    r
    p
    b
    • 4
    • 10
  • q

    quiet-processor-51504

    04/20/2021, 8:01 PM
    I am using Pulumi for the first time and after pulumi up I am getting the attached. Any ideas?
    out.txt
    b
    l
    • 3
    • 4
  • b

    bumpy-summer-9075

    04/20/2021, 10:12 PM
    Anyone know how to import
    k8s.apiextensions.CustomResource
    ? My trick to define a dummy resource and get the import string from the output of
    pulumi preview
    does not work
    Previewing update (dev):
         Type                                                   Name               Plan       
         pulumi:pulumi:Stack                                    user-dev              
     +   └─ kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware>  user-strip-prefix  create
    then if I try
    pulumi import kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> user-strip-prefix default/user-service-stripprefix -o /dev/stdout
    I get
    Previewing import (dev):
         Type                                                   Name               Plan       Info
         pulumi:pulumi:Stack                                    user-dev              1 error
     =   └─ kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware>  user-strip-prefix  import     1 error
     
    Diagnostics:
      pulumi:pulumi:Stack (user-dev):
        error: preview failed
     
      kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware> (user-strip-prefix):
        error: Preview failed: unknown resource type 'kubernetes:<http://traefik.containo.us/v1alpha1:Middleware|traefik.containo.us/v1alpha1:Middleware>'
    g
    m
    • 3
    • 3
  • m

    many-spring-73557

    04/20/2021, 10:46 PM
    How can I look up a k8s service? Specifically, I want to export the IP address of the built-in
    kube-system/kube-dns
    service
    b
    • 2
    • 3
  • p

    purple-train-14007

    04/21/2021, 2:00 AM
    @red-match-15116 I really like your presentation in PulumiUp. That flask app was a really cool way to show Pulumi’s capability.
    βž• 7
    r
    m
    +3
    • 6
    • 8
  • l

    little-cartoon-10569

    04/21/2021, 4:48 AM
    Is there a way to enforce a policy pack from within a project? Rather than from the command line, or by publishing to the organization?
  • k

    kind-mechanic-53546

    04/21/2021, 6:50 AM
    How does the docker package handle changes? It appears that it builds on preview and apply, regardless of any changes in the args etc... This causes issues (at least with Azure Container Registry) if the imageName (tag) changes but the underlying content has not changed Error
    iled to solve with frontend dockerfile.v0: failed to create LLB definition: <http://acrnamehere.azurecr.io/repo:tag|acrnamehere.azurecr.io/repo:tag>: not found
    w
    • 2
    • 2
  • w

    wonderful-dog-9045

    04/21/2021, 1:38 PM
    I have an issue with Github Actions, somehow it doesn't find the stack:
    Run pulumi/actions@v3
      with:
        command: preview
        stack-name: live
        work-dir: ./
        comment-on-pr: false
        github-token: ***
        parallel: 2147483647
        target-dependents: false
        refresh: false
        upsert: false
      env:
        PULUMI_ACCESS_TOKEN: ***
    Error: code: 255
     stdout: 
     stderr: error: no stack named 'live' found
    
     err?:
    The correct stack-name is
    MyOrgName/live
    and not
    live
    . However that is the name I put into the workflow:
    - uses: pulumi/actions@v3
            with:
              command: up
              stack-name: MyOrgName/live
            env:
              PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
    Running
    pulumi preview --stack MyOrgName/live
    locally works fine. Any ideas what I may be doing wrong?
    b
    l
    • 3
    • 4
  • f

    faint-forest-37701

    04/21/2021, 2:26 PM
    Are there any tracks for Pulumi certification?
    b
    • 2
    • 1
  • f

    faint-forest-37701

    04/21/2021, 2:26 PM
    I'd like to go through a class or something to learn all the ins and outs and get "certified" if thats a thing
  • a

    acceptable-energy-6360

    04/21/2021, 2:28 PM
    Since upgrading to Pulumi 3.0 we are getting flooded with these errors when running integration tests (using automation api). The tests still run and pass, but the errors are concerning.
    #..., secretOutputNames, undefined)
    STACK_TRACE:
    Error
        at Object.debuggablePromise (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/debuggable.js:69:75)
        at Object.transferProperties (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/rpc.js:89:78)
        at /Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:389:33
        at Generator.next (<anonymous>)
        at /Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
        at new Promise (<anonymous>)
        at __awaiter (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
        at prepareResource (/Users/curtis/Repositories/nacelle-services-dilithium/node_modules/@pulumi/pulumi/runtime/resource.js:331:12)
    Is this a known issue and/or are there any suggested fixes?
    "dependencies": {
        "@pulumi/aws": "^4.0.0",
        "@pulumi/awsx": "^0.30.0",
        "@pulumi/pulumi": "^3.0.0",
        ...
  • e

    early-minister-86776

    04/21/2021, 4:42 PM
    Hi everyone, So nice to meet you all. I started using Pulumi a while back, and its great. We are using pulumi to bring up and down an EKS cluster. But I have a small doubt which hopefully you all should be able to help. When I create a stack, only I can destroy it, and same for my team mate. what are the options for stack to be shared across folks in the team?
    c
    • 2
    • 4
  • a

    acoustic-room-2113

    04/21/2021, 6:37 PM
    I have some resources that were setup manually that I would like to import into a new stack as resources inside of a custom component resource. Is that something that can be managed through
    pulumi import
    with something like the multiple resource importing as described here? https://www.pulumi.com/blog/pulumi-import-generate-iac-for-existing-cloud-resources/#importing-multiple-resources
    w
    • 2
    • 12
  • a

    acoustic-room-2113

    04/21/2021, 6:43 PM
    I would rather avoid manually crafting a state if possible.
  • c

    creamy-train-19251

    04/21/2021, 7:58 PM
    Im using Pulumi 3.0 on Azure with a .net stack. The stack deploys ok and then disappears of course then any command fails as such : decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase csproj is as follows <ProjectΒ Sdk="Microsoft.NET.Sdk"> Β Β <PropertyGroup> Β Β Β Β <OutputType>Exe</OutputType> Β Β Β Β <TargetFramework>netcoreapp3.1</TargetFramework> Β Β Β Β <Nullable>enable</Nullable> Β Β </PropertyGroup> Β Β <ItemGroup> Β Β Β Β <PackageReferenceΒ Include="Pulumi.AzureNative"Β Version="1.*"Β /> Β Β </ItemGroup> </Project> Any thoughts on a fix?
    b
    r
    • 3
    • 7
  • b

    billowy-laptop-45963

    04/21/2021, 11:01 PM
    If I have a network stack that my other stacks depend on, what is the best way to spin up the network stack so that I can test the other stacks?
    b
    w
    • 3
    • 11
  • e

    elegant-pager-5412

    04/22/2021, 5:10 AM
    Hey Guys! If I’m using TypeScript with Pulumi, what is the latest
    target
    I can use? Currently the default seems to be
    es2016
    . Is there any reason why won’t I bump it to
    es2020
    ? Also, as for the
    module
    definition, can I use
    ES2020
    or
    ESNext
    ?
    a
    • 2
    • 1
  • w

    wooden-truck-40033

    04/22/2021, 9:47 AM
    Hi Everyone With Pulumi 3.0 and automation API released , I am keen to hear about your experienced with Automation API and the problems it has solved.
    w
    • 2
    • 3
  • p

    plain-caravan-71891

    04/22/2021, 10:32 AM
    πŸ‘‹ i'm trying to follow the example for certificatevalidation (TS) here: https://www.pulumi.com/docs/reference/pkg/aws/acm/certificatevalidation/
  • p

    plain-caravan-71891

    04/22/2021, 10:33 AM
    but the example code is throwing a lot of TS errors related to the reduce lambda
    • 1
    • 1
Powered by Linen
Title
p

plain-caravan-71891

04/22/2021, 10:33 AM
but the example code is throwing a lot of TS errors related to the reduce lambda
TSError: β¨― Unable to compile TypeScript:
    index.ts(194,81): error TS1128: Declaration or statement expected.
    index.ts(194,107): error TS1005: ',' expected.
    index.ts(198,3): error TS1005: ',' expected.
    index.ts(198,38): error TS1005: ';' expected.
    index.ts(194,64): error TS7006: Parameter '__obj' implicitly has an 'any' type.
    index.ts(194,71): error TS7006: Parameter 'dvo' implicitly has an 'any' type.
    index.ts(194,84): error TS2304: Cannot find name '__obj'.
    index.ts(194,91): error TS2556: Expected 1-2 arguments, but got 4 or more.
    index.ts(194,92): error TS2304: Cannot find name 'dvo'.
    index.ts(195,9): error TS2304: Cannot find name 'dvo'.
    index.ts(196,11): error TS2304: Cannot find name 'dvo'.
    index.ts(197,9): error TS2304: Cannot find name 'dvo'.
    index.ts(198,30): error TS2695: Left side of comma operator is unused and has no side effects.
    index.ts(198,33): error TS2304: Cannot find name 'value'.
    index.ts(199,3): error TS2454: Variable 'exampleRecord' is used before being assigned.
    index.ts(199,68): error TS2339: Property 'key' does not exist on type 'void'.
    index.ts(201,19): error TS2339: Property 'value' does not exist on type 'void'.
    index.ts(202,23): error TS2339: Property 'value' does not exist on type 'void'.
    index.ts(204,19): error TS2339: Property 'value' does not exist on type 'void'.
    index.ts(210,26): error TS2454: Variable 'exampleRecord' is used before being assigned.
    index.ts(210,40): error TS2339: Property 'apply' does not exist on type 'Record[]'.
    index.ts(210,46): error TS7006: Parameter 'exampleRecord' implicitly has an 'any' type.
    index.ts(210,81): error TS7006: Parameter 'record' implicitly has an 'any' type.
View count: 1