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

    busy-daybreak-68237

    03/05/2019, 10:02 AM
    Cancelling a pulumi run with ecs definitions takes ages, now running for almost 10 minutes. Is there a way to make this quicker?
    w
    b
    • 3
    • 2
  • b

    bitter-island-28909

    03/05/2019, 4:26 PM
    is there a recommended way to run some imperative code after creating a resource? (e.g, ssh into an instance and run a script?)
    w
    • 2
    • 4
  • f

    fancy-bird-10227

    03/05/2019, 5:38 PM
    Any ballpark for when Python VMware API documentation will be available?
    i
    • 2
    • 1
  • i

    incalculable-angle-91273

    03/05/2019, 6:31 PM
    Does anyone have a good pattern for installing the istio helm chart? We were using the
    helm.fetch
    function on istio’s Github releases and then doing a local helm install. But this breaks when we upgraded helm from 2.11 on our build agent:
    2019-03-05T00:40:12.9319205Z     Error: chart name not specified
    2019-03-05T00:40:12.9324933Z     Error: Command failed: helm fetch https\://github.com/istio/istio/releases/download/1.0.5/istio-1.0.5-linux.tar.gz --untar --untardir /tmp/tmp-2214BL9U9NX1iuAo
    2019-03-05T00:40:12.9326815Z     Error: chart name not specified
    g
    • 2
    • 3
  • l

    loud-computer-30956

    03/05/2019, 7:09 PM
    Hello! Simple question, I've been trying to read around and try my forward without success. I'd love to see an example how setup an SNS topic subscription which should invoke a lambda I've created. I see the
    topicSub.onEvent()
    method but not sure how to connect the two together
  • l

    loud-computer-30956

    03/05/2019, 7:09 PM
    Coming from Terraform and can see a lot of potential 🙂
  • f

    faint-vegetable-61837

    03/05/2019, 7:11 PM
    Hi, is there a way to add a new output to a stack? I remember it worked once with
    pulumi up
    - a new output was added to the stack, but if I try to do it now it does not work
    w
    • 2
    • 6
  • l

    loud-computer-30956

    03/05/2019, 7:13 PM
    aws.lambda.EventHandler seems to be what I need to find out how to use
  • l

    loud-computer-30956

    03/05/2019, 7:16 PM
    let lambda = new aws.lambda.Function("mylambda", {
        runtime: aws.lambda.Python3d6Runtime,
        code: new pulumi.asset.AssetArchive({
            ".": new pulumi.asset.FileArchive(pythonLambdaLocation),
        }),
        timeout: 300,
        handler: lambdaEntryPoint,
        role: role.arn,
        environment: { 
            variables: {
                "HOOK_URL": HOOK_URL
            }
        },
    }, { dependsOn: [fullAccess] });
    
    // SNS topic and subscription to Lambda
    let sns = new aws.sns.Topic("CW_ALARM_PULUMI");
    let topicSubscription = sns.onEvent("ontopicevent", (ev, ctx) => {
        return new aws.sns.TopicEventSubscription("eventsub", sns, lambda, );
    }))
  • l

    loud-computer-30956

    03/05/2019, 7:16 PM
    I'm close..
  • l

    loud-computer-30956

    03/05/2019, 7:21 PM
    Or maybe not. it seems there are no examples of an SNS topic subscribing to invoke a Lambda - really?
  • l

    loud-computer-30956

    03/05/2019, 7:22 PM
    Oh think I figured it out simply with
    // SNS topic and subscription to Lambda
    let sns = new aws.sns.Topic("CW_ALARM_PULUMI");
    let topicSubscription = new aws.sns.TopicEventSubscription("eventsub", sns, lambda, {});
    l
    • 2
    • 4
  • i

    important-leather-28796

    03/05/2019, 7:58 PM
    How do I enable autoUpgrade and autoRepair on a GKE cluster? This typechecks but does not work:
    nodePools: {
              management: {
                autoRepair: true,
                autoUpgrade: true,
              },
            }
    gcp:container/cluster:Cluster resource 'development' has a problem: node_pool: should be a list
    g
    b
    +2
    • 5
    • 8
  • i

    important-leather-28796

    03/05/2019, 9:37 PM
    Where can I get information on allowed DatabaseInstanceArgs values like
    availabilityType
    and
    crashSafeReplication
    https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/sql/
    g
    • 2
    • 5
  • h

    hallowed-king-98702

    03/05/2019, 9:39 PM
    Hey all, I’ve setup a new cloud service using
    @pulumi/cloud-aws
    . The service launches correctly and works however my app can’t make external http requests. Trying to connect to google for example, causes an I/O timeout error. The service is written in go (works as expected locally). I’m using the following config:
    const site = new cloud.Service('site', {
      containers: {
        site: {
          image: imageName,
          memory: 128,
          ports: [{ port: 80 }],
          environment: {
            ENV: 'production',
          },
        },
      },
    });
    Nothing stands out in terms of VPC configs so I’m curious if pulumi/teraform defaults to a setting which blocks external requests which I’m not seeing?
    s
    • 2
    • 2
  • u

    user

    03/05/2019, 10:41 PM
    message has been deleted
  • c

    chilly-dusk-63796

    03/05/2019, 10:41 PM
    /poll "🎉Random Pulumi fact time: How did you first hear about pulumi?" "Friends/Acquaintances""Github" "Twitter" "Reddit" "HackerNews" "LinkedIn" "Blog sites" "Ads" "Others - leave a comment!😎" anonymous
    p
    s
    • 3
    • 2
  • c

    cool-egg-852

    03/05/2019, 10:45 PM
    Anyone know why when using the file backend that the stacks are shared across projects?
    • 1
    • 3
  • i

    important-leather-28796

    03/05/2019, 10:52 PM
    My gcp db creation fails every time
    Update failed in 8 minutes
    but ultimately succeeds. How can I get
    pulumi up
    to wait longer on create
    gcp:sql:DatabaseInstance
    ?
    g
    • 2
    • 7
  • c

    chilly-dusk-63796

    03/05/2019, 11:31 PM
    message has been deleted
  • i

    important-leather-28796

    03/05/2019, 11:46 PM
    pulumi
    cli does not respect the configurations I place in the tsconfig.json - which really impacts code reuse. Who can chat with me about the internals of the cli?
    g
    m
    +2
    • 5
    • 51
  • s

    stocky-island-3676

    03/06/2019, 8:37 AM
    Hi. I want to set the
    kubectl
    context for a Kubernetes resource to make sure it’s applied to the correct cluster (configured in the uniquely named context). How can I avoid that Pulumi will *recreate*/replace the resource when I add
    new kubernetes.Provider(..., {context: ,})
    to it?
    w
    c
    c
    • 4
    • 37
  • b

    better-rainbow-14549

    03/06/2019, 1:25 PM
    apps.ts(126,13): error TS2345: Argument of type 'Namespace' is not assignable to parameter of type 'Input<string> | Namespace'.
          Type 'import("node_modules/@pulumi/kubernetes/provider").core.v1.Namespace' is not assignable to type 'import("node_modules/@mypackages/pulumi-aad-pod-identity/node_modules/@pulumi/kubernetes/provider").core.v1.Namespace'.
            Types have separate declarations of a private property '__inputs'.
    • 1
    • 1
  • w

    worried-engineer-33884

    03/06/2019, 3:40 PM
    @stocky-spoon-28903 thanks to your PR we have a working port of the SolidSERVER Terraform provider! https://github.com/dustinfarris/pulumi-solidserver I was able to import this in my Pulumi python project and use the resources successfully. A new bump in the road I'd like to report is when I tried to distribute this to another team-member. I shipped the Python library (generated by the terraform bridge) to my colleague who was able pip install it from a local directory and import it in his Pulumi project. However,
    pulumi up
    failed with this error:
    no resource plugin solidserver found in the workspace or your path
    We discovered that I needed to share the go binary as well—which made sense when we realized that was what was missing. Is there a better story for shipping third-party ports of terraform providers? I believe that
    pulumi plugin install
    only works with Pulumi-provided plugins. cc @white-balloon-205
    s
    w
    • 3
    • 3
  • b

    busy-umbrella-36067

    03/06/2019, 5:11 PM
    That
    resources.go
    file, is that all done by hand or is it something that gets generated we can base off of?
    c
    • 2
    • 1
  • f

    fancy-bird-10227

    03/06/2019, 5:35 PM
    Any plans to support Ruby?
    c
    • 2
    • 1
  • f

    faint-vegetable-61837

    03/06/2019, 6:24 PM
    Hi, one person on our team does not see any changes on
    pulumi up
    , and another sees change in
    diff: __provider
    . All versions are the same, and stack is stored in an Org account. This seems very strange...
    c
    w
    • 3
    • 3
  • e

    early-musician-41645

    03/06/2019, 7:09 PM
    I'm running into problems when deploying the prometheus operator to kube via Pulumi. Any ideas on this error?
    Previewing update (stack-name):
    
         Type                                                            Name                                               Plan       Info
         pulumi:pulumi:Stack                                             eks-cluster-online-sandbox
     >-  ├─ pulumi:pulumi:StackReference                                 stack-ref-name    read
         └─ kubernetes:helm.sh:Chart                                     prometheus-operator
     ~      ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition>  kube-system/prometheusrules.monitoring.coreos.com  update     [diff: ~metadata]
     ~      ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition>  kube-system/servicemonitors.monitoring.coreos.com  update     [diff: ~metadata]
     ~      ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition>  kube-system/alertmanagers.monitoring.coreos.com    update     [diff: ~metadata]
     ~      └─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition>  kube-system/prometheuses.monitoring.coreos.com     update     [diff: ~metadata]
    
    Resources:
        ~ 4 to update
        95 unchanged
    
    <snip>
    
    Diagnostics:
      kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> (kube-system/prometheuses.monitoring.coreos.com):
        error: Plan apply failed: 1 error occurred:
    
        * expected kind, but got map
    c
    d
    • 3
    • 9
  • c

    chilly-photographer-60932

    03/06/2019, 7:27 PM
    Error: TypeError: Cannot read property 'replace' of undefined
            at Chart.resources.allConfig.apply.cfg (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/helm.js:93:27)
            at Output.<anonymous> (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:277:47)
            at Generator.next (<anonymous>)
            at /Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:20:71
            at new Promise (<anonymous>)
            at __awaiter (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:16:12)
            at promise.then (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:264:62)
    
        error: TypeError: Cannot read property 'replace' of undefined
        error: an unhandled error occurred: Program exited with non-zero exit code: 1
    Running into this error on helm
  • c

    chilly-photographer-60932

    03/06/2019, 7:27 PM
    Does
    helm
    chart have an option to be replaced?
Powered by Linen
Title
c

chilly-photographer-60932

03/06/2019, 7:27 PM
Does
helm
chart have an option to be replaced?
View count: 1