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

    cool-egg-852

    10/11/2019, 7:53 PM
    Is it on purpose that
    ResourceRequirements
    has the type as
    pulumi.Input<object>
    instead of having a named object with
    cpu
    and
    memory
    ?
    w
    b
    • 3
    • 11
  • a

    adamant-dress-73325

    10/11/2019, 9:30 PM
    Hi, my pulumi program is stuck creating a new stack? I am running pulumi up on a new stack. Is there something wrong with app.pulumi.com?
    g
    c
    l
    • 4
    • 26
  • e

    early-intern-90238

    10/11/2019, 11:17 PM
    I wish I could suppress output on a certain very small subset of exports so they don't show up in my GitHub PR's but the rest I want to see...
    w
    • 2
    • 2
  • b

    bored-furniture-11856

    10/12/2019, 6:17 AM
    Hi folks. I try to use a different S3 provider (Digital Ocean, Minio) than Amazon AWS as state store for Pulumi, but fail to configure the S3 host/URL. With the debug log enabled, you can see that Pulumi is still contacting a host of Amazon S3. Even my quick look at the implementation seems to confirm that currently only AWS S3 is supported as S3 provider? Is that supposed to work? Did I miss a thing?
    b
    • 2
    • 2
  • e

    early-intern-90238

    10/12/2019, 3:53 PM
    Ok I have a really stupid question, how can I extract an export from the stack that was previously exported in a prior run?
    w
    c
    • 3
    • 10
  • f

    flaky-continent-74538

    10/14/2019, 3:36 AM
    Is pulumi down? I'm getting tons of weird errors when following the quickstart guide
    m
    s
    c
    • 4
    • 9
  • i

    incalculable-diamond-5088

    10/14/2019, 3:29 PM
    Getting the following error when running pulumi up:
    TypeError: Class extends value undefined is not a constructor or null
            at Object.<anonymous> (/Users/igor/work/some-project/infra/pulumi/node_modules/@pulumi/cloudwatch/eventRuleMixins.ts:70:56)
            at Module._compile (internal/modules/cjs/loader.js:868:30)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
            at Module.load (internal/modules/cjs/loader.js:731:32)
            at Function.Module._load (internal/modules/cjs/loader.js:644:12)
            at Module.require (internal/modules/cjs/loader.js:771:19)
            at require (internal/modules/cjs/helpers.js:68:18)
            at Object.<anonymous> (/Users/igor/work/some-project/infra/pulumi/node_modules/@pulumi/cloudwatch/cloudwatchMixins.ts:16:1)
            at Module._compile (internal/modules/cjs/loader.js:868:30)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
    • 1
    • 3
  • a

    acceptable-army-69872

    10/14/2019, 4:05 PM
    Prefix: We aren't doing branching right; I'm trying to see what would happen if I created an RDS instance in a branch my co-worker is using. So I do a
    pulumi up
    which tells me it's going to update like 500 resources (obviously source has drifted), and create my resource. Which is almost good enough to do a PR, but like, it'd be cool if I can
    -target
    a resource that doesn't exist yet and try to create it. Can I do that? If so, how do I predict a URN.
    g
    • 2
    • 1
  • l

    loud-computer-30956

    10/14/2019, 4:12 PM
    Hi all. I'm starting from scratch to make a simple Django app that will be hosted on ElasticBeanstalk. So far so good, if I have the Django app zipped in my Pulumi folder. but going forward, how should I setup my continuous delivery pipelines? Should pulumi up be called or should I just use the AWS cli directly? I guess ideally I use something like GitHub Packages or artifactory to host the zip before invoking pulumi/awscli?
    c
    • 2
    • 1
  • c

    calm-greece-42329

    10/14/2019, 4:31 PM
    is anyone out there using pulumi in a monorepo? i saw an open issue related to the node_modules, but im curious how people manage this or building a dependency tree to know which stacks need updating. i see some bazel rules for terraform but im also not 100% sold on using a build tool for building infrastructure
  • m

    microscopic-article-39213

    10/14/2019, 5:06 PM
    Does anyone know if that Pulumi Hacktoberfest event tomorrow night will accept walk-ins? Registration is closed on the Eventbrite page. Just visiting Seattle and saw it referenced in the Pulumi marketing emails I received this morning. Would love to attend.
    b
    • 2
    • 1
  • i

    incalculable-engineer-92975

    10/14/2019, 5:54 PM
    My script is hanging on an AWS getZone() call. No exceptions, no error codes, just... hangs. Debug output shows nothing applicable. Here's the code:
    g
    • 2
    • 6
  • i

    incalculable-engineer-92975

    10/14/2019, 5:54 PM
    const selected = aws.route53.getZone({ name: domain + '.', privateZone: false, });
  • i

    incalculable-engineer-92975

    10/14/2019, 5:54 PM
    If I take that out and replace it with a
    return null;
    then a
    pulumi preview
    completes. If I leave it in, then a
    pulumi preview
    hangs.
  • b

    busy-umbrella-36067

    10/14/2019, 7:14 PM
    Would be really great if previews also had the resources graph view, makes verifying parent/child relationships easier
  • a

    acceptable-army-69872

    10/14/2019, 7:52 PM
    I have two issues I think I related. Issue 1) I'm passing in an array of hashes that are config settings to a beanstalk, and every time I run an up, it wants to replace a bunch of the settings and update things. I'm like 99% sure it's an ordering thing. Is there a way for me to order this so I won't have changes each time?
    ~ [0]: {
             ~ name     : "LoadBalancerType" => "VPCId"
             ~ namespace: "aws:elasticbeanstalk:environment" => "aws:ec2:vpc"
             - resource : ""
             ~ value    : "network" => "vpc-VPCID"
           }
     ~ [1]: {
             ~ name     : "Availability Zones" => "InstanceType"
             ~ namespace: "aws:autoscaling:asg" => "aws:autoscaling:launchconfiguration"
             - resource : ""
             ~ value    : "Any" => "m5.large"
           }
     ~ [2]: {
             ~ name     : "environment" => "Availability Zones"
             ~ namespace: "aws:elasticbeanstalk:application:environment" => "aws:autoscaling:asg"
             - resource : ""
             ~ value    : "dev" => "Any"
           }
     ~ [3]: {
             ~ name     : "Subnets" => "MinSize"
             ~ namespace: "aws:ec2:vpc" => "aws:autoscaling:asg"
             - resource : ""
             ~ value    : "subnet-XXX,subnet-YYY" => "1"
           }
     ~ [4]: {
             ~ name     : "Notification Endpoint" => "MaxSize"
             ~ namespace: "aws:elasticbeanstalk:sns:topics" => "aws:autoscaling:asg"
             - resource : ""
             ~ value    : "<mailto:developers@blahblahblah.com|developers@blahblahblah.com>" => "4"
           }
     ~ [5]: {
             ~ name     : "VPCId" => "environment"
             ~ namespace: "aws:ec2:vpc" => "aws:elasticbeanstalk:application:environment"
             - resource : ""
             ~ value    : "vpc-VPCID" => "dev"
           }
    g
    • 2
    • 7
  • a

    acceptable-army-69872

    10/14/2019, 8:12 PM
    issue 2) wasn't really an issue, i was creating an aurora cluster incorrectly, so it wanted to recreate it each time.
  • b

    brave-angle-33257

    10/14/2019, 8:31 PM
    Hi folks, first time using pulumi/eks, running into an issue, i assume this is something known and easy if anyone can help point me in right direction
    w
    • 2
    • 12
  • b

    bland-eye-59969

    10/14/2019, 8:31 PM
    We have bunch of AWS Cloudformation stacks. I want to migrate those resources into Pulumi. I found that I can use this: https://www.pulumi.com/docs/reference/pkg/python/pulumi_aws/cloudformation/ but when I tried to call get_stack method with something like:
    cloudformation_stack_result = aws.cloudformation.get_stack(name = 'stack-name')
    , it gives me error:
    invoking aws:cloudformation/getStack:getStack: template body contains an invalid JSON or YAML: invalid character 'L' after array element
  • b

    bland-eye-59969

    10/14/2019, 8:31 PM
    That stack is in create_complete state and it's valid JSON
  • b

    bland-eye-59969

    10/14/2019, 8:32 PM
    Am I missing something?
    w
    • 2
    • 8
  • b

    brave-angle-33257

    10/15/2019, 1:05 AM
    trying to follow this example on the docs page, but it’s not working:
    import * as k8s from "@pulumi/kubernetes";
    import * as pulumi from "@pulumi/pulumi";
    const env = pulumi.getStack();
    const infra = new pulumi.StackReference(`acmecorp/infra/${env}`);
    const provider = new k8s.Provider("k8s", { kubeconfig: infra.getOutput("kubeConfig") });
    const service = new k8s.core.v1.Service(..., { provider: provider });
    h
    • 2
    • 8
  • b

    billions-lock-80282

    10/15/2019, 11:19 AM
    Hi, can you set a pulumi stack to reference a gcloud profile? instead of including gcp:project, gcp:region and gcp:zone in stack file?
    b
    • 2
    • 2
  • i

    incalculable-portugal-13011

    10/15/2019, 4:13 PM
    hey all, I’m attempting to pull a remote, third-party docker image from dockerhub and pipe that into an ecr repository. should be pretty simple but clearly getting hung up on something:
    const containerRepository = new awsx.ecr.Repository("selenium/hub", {});
    
    const dockerHubSeleniumHubImage = new docker.RemoteImage("selenium/hub", {
        name: "selenium/hub",
        keepLocally: true
    });
    
    containerRepository.buildAndPushImage(dockerHubSeleniumHubImage.name);
    I’m getting an error back along the lines of
    path "selenium/hub not found
    . clearly missing a step here, just not sure what it is
    b
    c
    s
    • 4
    • 15
  • b

    bland-eye-59969

    10/15/2019, 6:20 PM
    Is anyone using
    pulumi login
    with s3? Need some help.
    c
    c
    • 3
    • 11
  • i

    incalculable-portugal-13011

    10/15/2019, 7:27 PM
    are there any examples of using ecr together with ecs via pulumi?
  • i

    incalculable-portugal-13011

    10/15/2019, 7:27 PM
    perusing the documentation and I can’t for the life of me figure out how to create an ECS fargate task with a container image hosted on ECR
    a
    • 2
    • 8
  • t

    tall-rose-87315

    10/16/2019, 4:43 AM
    Can I create a role assign (AcrPull) to an azure containerregistry that is in a different Subscription (same AD Tenant)? I created a ServicePrincipal (application, sp, sppassword), created K8s Cluster, now need to let the cluster pull the image from a registry in a secondary subscription. But it doesn't seem to be working [rpc error: code = Unknown desc = Error response from daemon: Get ....: unauthorized: authentication required, rpc error: code = Unknown desc = Error response from daemon: Get ....: unauthorized: authentication required]
  • s

    some-king-80791

    10/16/2019, 6:09 AM
    Hi, does api.pulumi.com have an API that we can call to confirm a stack state via API? (Likely this issue is for it: https://github.com/pulumi/docs/issues/741) My use case is: 1) check stack state from API, 2) run "pulumi up" via API specifying a cloud storage like S3/GCS to load Pulumi scripts. Appriciate if anyone can let me know some solutions. API plus SDK support would be great, but alternatives/workaround are also welcome.
  • n

    numerous-iron-8383

    10/16/2019, 9:15 AM
    Hello, I am new to pulumi, previously I worked with terraform a lot. Recently for one project I decided to use pulumi instead of terraform. I wrote initial setup of AWS vpc/ecs/fargate/lambda/codedeploy/etc/s3 stack, however
    pulumi up
    crashes... It creates all resources it should, then hangs and after few minutes I get
    JavaScript heap out of memory
    error. I tested it with Node.js 10/12 and with Pulumi 1.1.0 / 1.3.1 and latest HEAD - every time the same problem. I saw someone had similar issue https://github.com/pulumi/pulumi/issues/3279 but with StackReference which I don't use at all. I believe my stack is not anything special, it's standard AWS stack I guess. Has anyone had similar problems with Pulumi? Are you stacks working as expected (in production?) - if yes can anyone share which pulumi / node version you are using for stack provisioning? Thanks
    b
    • 2
    • 2
Powered by Linen
Title
n

numerous-iron-8383

10/16/2019, 9:15 AM
Hello, I am new to pulumi, previously I worked with terraform a lot. Recently for one project I decided to use pulumi instead of terraform. I wrote initial setup of AWS vpc/ecs/fargate/lambda/codedeploy/etc/s3 stack, however
pulumi up
crashes... It creates all resources it should, then hangs and after few minutes I get
JavaScript heap out of memory
error. I tested it with Node.js 10/12 and with Pulumi 1.1.0 / 1.3.1 and latest HEAD - every time the same problem. I saw someone had similar issue https://github.com/pulumi/pulumi/issues/3279 but with StackReference which I don't use at all. I believe my stack is not anything special, it's standard AWS stack I guess. Has anyone had similar problems with Pulumi? Are you stacks working as expected (in production?) - if yes can anyone share which pulumi / node version you are using for stack provisioning? Thanks
b

best-xylophone-83824

10/16/2019, 9:20 AM
I use official pulumi image
👍 1
n

numerous-iron-8383

10/16/2019, 12:40 PM
For me it crashes also in official docker image 😞.
View count: 1