https://pulumi.com logo
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
  • e

    elegant-planet-7298

    11/10/2018, 1:22 AM
    me too 😞
  • f

    future-energy-28590

    11/10/2018, 3:22 AM
    Hello my fellow pulumiers 🙂, can someone break down a high level sequenced example of how they are using pulumi@kubernetes with existing CICD pipelines? I am working out a pulumi@kubernetes PoC for my org and want to make sure I am on the correct path. Thanks!
    b
    c
    c
    • 4
    • 12
  • b

    boundless-room-36997

    11/10/2018, 9:53 PM
    Hello, some time ago I noticed on reddit that one of pulumi team members said he is going to spend more time to make more pulumi features available in python. Any progress on this ?
    w
    • 2
    • 2
  • a

    ancient-match-5870

    11/12/2018, 3:58 PM
    Hello 🙂 I have a question regarding AWS
    TargetGroups
    . I want to create a target group and register an instance I've created in a previous step:
    new aws.elasticloadbalancingv2.TargetGroup(`${config.fqsn}-access-tg`, {
      vpcId: config.vpc,
      protocol: "HTTPS",
      port: 8443,
      targetType: "instance",
      healthCheck: {
        protocol: "HTTPS",
        port: "traffic",
        path: "/"
      },
    });
    Unfortunately, there is no
    targets
    attribute in the
    TargetGroupArgs
    . Chances are that I miss something. Any help is highly appreciated 🙂
    w
    • 2
    • 2
  • a

    alert-lizard-82628

    11/12/2018, 4:33 PM
    Hi, I have a general question about Pulumi and relational databases. So, Pulumi is pretty great at creating empty relational databases in the cloud (AWS RDS, Azure SQL DB, etc.). There are some handy examples of that in the pulumi/examples repo. But most of the time I also need to populate that database (with schemas and data) before it’s useful to my application. At the moment I’m just restoring the contents of my database manually outside of Pulumi, but there’s gotta be a better way. Is anyone aware of a good workflow for deploying relational database schema+data to a Pulumi stack?
    👍 1
    c
    b
    +2
    • 5
    • 7
  • s

    sparse-insurance-40223

    11/12/2018, 4:44 PM
    i've got a really strange thing with a kube CRD where kubectl get doesn't list it, pulumi's convinced it doesnt exist.. but when pulumi tries to create it it's erroring because it apparently already exists.
    c
    • 2
    • 10
  • s

    sparse-insurance-40223

    11/12/2018, 4:44 PM
    anybody have any idea how i can fix something like that?
  • i

    icy-dress-83371

    11/12/2018, 6:15 PM
    Anyone doing any hacks around getting local storage working with something like Blob storage or S3 bucket yet?
    w
    • 2
    • 1
  • t

    thankful-artist-95425

    11/12/2018, 9:58 PM
    Is there a way to run a job, like a database migration, wait on it’s completion status and then continue deployment if it’s successful? I’m using k8s FYI
  • h

    hundreds-musician-51496

    11/12/2018, 10:07 PM
    @thankful-artist-95425 pretty sure there isn't direct support. You might be able to piece something together by using await/async (typescript/js) and waiting for some callback even to occur. The ffmpeg example shows how to wait for events on s3 buckets - maybe you can do somethign with Lambdas?
    t
    b
    • 3
    • 4
  • h

    hundreds-musician-51496

    11/12/2018, 10:07 PM
    (AWS Lambda functions I mean)
  • b

    brave-angle-33257

    11/12/2018, 10:37 PM
    hi all, trying to create an Azure Function using example here: https://github.com/pulumi/examples/tree/master/azure-ts-functions however i don't want it to be executed over HTTP but rather from a timer only. I see that it's based on
    azure:HttpFunction
    but I can't seem to find any docs/references for this or other similar classes
    w
    l
    • 3
    • 10
  • h

    helpful-continent-74245

    11/13/2018, 4:26 AM
    Hi guys, I like programming infra with real code but one thing I find cumbersome is the resource output system. As soon as we begin to use the apply method, I find that the resulting code is less readable (especially for more OPS-background people). But I have a question: how to handle multiple replacement values ? I could chain the apply function if I know the exact number (which would be very ugly) but in my case I receive a list of unknown size.
  • h

    helpful-continent-74245

    11/13/2018, 4:28 AM
    Stripped down example: I have a list of bucket in
    buckets
    variables, and I want to generate the string:
    ["arn:aws:s3:::${bucket1.id}", "arn:aws:s3:::${bucket2.id}",...]
    w
    • 2
    • 10
  • s

    salmon-chef-59987

    11/13/2018, 6:07 AM
    Hey peeps. I'm trying to target GCP and AWS from a single stack. I added "pulumi/gcp" to my package.json but that was shooting from the hip because I think Pulumi.yaml specifies the stack settings and right now it is configured for AWS. I might be trying to do something impossible but also didn't look too hard. Is there a way to target multiple clouds from a single stack?
    c
    • 2
    • 10
  • s

    salmon-chef-59987

    11/13/2018, 6:08 AM
    I know multiple regions within a stack can be targeted by initializing the regional resources so I was trying to do the same for multiple clouds.
    s
    • 2
    • 18
  • c

    cold-coat-35200

    11/13/2018, 10:13 AM
    Hi, I'm trying to write a dynamic resource to handle Cloudflare DNS records, this is a wip code
    Untitled.ts
    s
    b
    • 3
    • 12
  • e

    early-musician-41645

    11/13/2018, 6:16 PM
    I just caught a failure of the VPN-cni resource creation. After retrying
    pulumi up
    it succeeded.
    VPC_cni_fail.txt
  • f

    full-dress-10026

    11/13/2018, 8:49 PM
    When creating a
    aws.elasticache.Cluster
    , how do I specify if I want cluster mode on or off?
  • f

    full-dress-10026

    11/13/2018, 8:54 PM
    Oh I see - there's a replication group class.
  • c

    cold-coat-35200

    11/14/2018, 1:41 PM
    currently I have this dynamic provider to handle Cloudflare DNS operations,
    pulumi up
    and
    pulumi destroy
    works fine, but
    pulumi up --refresh
    dies
    -.ts
    w
    m
    • 3
    • 17
  • b

    busy-umbrella-36067

    11/14/2018, 3:15 PM
    on the kubernetes provider, is pulumi able to wait until a
    StatefulSet
    or
    Deployment
    has the disired amount of pods? This is from an old workflow, runs after the k8s resources have been applied, makes sure that the containers start up successfully and pass their readiness Checks
    kubectl rollout status statefulset <NAME>
    g
    c
    • 3
    • 18
  • c

    chilly-dinner-85271

    11/14/2018, 3:36 PM
    Hi, i have a problem with an apigateway with apikey and lambda setup. My code is here : https://gist.github.com/cosminilie/5d9d1c7ac800ec995423357fba556862. The problem is when i hit the URL with : curl -H "x-api-key:xxxxx" -H "Content-Type: application/json" https://xxxaas.execute-api.eu-west-1.amazonaws.com/prod/bambam i get internal server error. If go to the UI and lick on the lambda function in the Integration Request, i'm prompted with the "You are about to give API Gateway permission to invoke your Lambda function:" hit ok and then it works. I know i'm missing something but i don't know what. Can you guys help out?
    • 1
    • 2
  • f

    full-dress-10026

    11/14/2018, 8:54 PM
    How do I add an egress rule to an AWS security group that says all traffic, all protocols, all ports, and
    0.0.0.0/0
    destination?
  • f

    full-dress-10026

    11/14/2018, 8:58 PM
    I tried this:
    egress: [{
            protocol: "ALL",
            fromPort: 0,
            toPort: 65535,
            cidrBlocks: ["0.0.0.0/0"]
        }]
    But that doesn't work.
  • f

    full-dress-10026

    11/14/2018, 8:59 PM
    And this:
    egress: [{
            protocol: "-1",
            fromPort: 0,
            toPort: 0,
            cidrBlocks: ["0.0.0.0/0"]
        }]
    m
    • 2
    • 10
  • e

    early-musician-41645

    11/14/2018, 11:39 PM
    How do I do the equivalent of this with the
    @pulumi/kubernetes
    package?
    kubectl apply --filename <https://raw.githubusercontent.com/giantswarm/kubernetes-prometheus/master/manifests-all.yaml>
    c
    • 2
    • 7
  • c

    cuddly-barista-79466

    11/15/2018, 12:22 AM
    Greetings. I may have a crazy stupid idea, but I work with some of the other engineers at MINDBODY that are provisioning GCP resources and how it’s improved their infrastructure build out vs using Terraform. On the flip side, I am tasked with provisioning resources On-Prem with vsphere, F5 LBs, Palo Alto Firewalls, Infoblox, Active Directory et. al. more traditional on-prem stack devices. So, pitting Pulumi vs Terraform for provisioning on-prem resources, YAY/NAY?
    w
    • 2
    • 2
  • b

    blue-dentist-627

    11/15/2018, 2:08 AM
    hi, i would like to know if there a way to easily display what there is inside a pulumi object for debugging purpose at deployment time where all properties are resolved ?
    c
    • 2
    • 6
  • h

    helpful-continent-74245

    11/15/2018, 4:34 AM
    Hi, is there a command I can use to check that my pulumi code will properly execute (i.e. registration of my resource all works fine), but without connecting to the cloud provider to check the diff ?
    👍 1
Powered by Linen
Title
h

helpful-continent-74245

11/15/2018, 4:34 AM
Hi, is there a command I can use to check that my pulumi code will properly execute (i.e. registration of my resource all works fine), but without connecting to the cloud provider to check the diff ?
👍 1
View count: 2