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

    jolly-lifeguard-22556

    02/25/2019, 8:48 PM
    Also, is there any way with Pulumi to enable APIs on a newly created project? Or is it required that this is done through the Google Cloud Console or CLI?
    • 1
    • 1
  • c

    chilly-dusk-63796

    02/25/2019, 9:09 PM
    šŸ˜›artypus-8bit:Part 2 of our Feb 21 meetup from Mercedes Benz R&D team is public on Pulumi's Youtube channel, click to view:

    https://youtu.be/5VExXUdQNSEā–¾

    .
  • c

    cold-coat-35200

    02/25/2019, 9:15 PM
    hi, https://pulumi.io/reference/pkg/nodejs/@pulumi/pulumi/index.html#Output-apply "ā€˜func’ is not allowed to make resources." Is this still stands? If so, how can you do this with an Output like this: https://pulumi.io/reference/pkg/nodejs/@pulumi/aws/route53/#Zone-nameServers Possibly not the way the example shows, getting the array elements with fix indexes, without a loop.
    w
    o
    c
    • 4
    • 11
  • p

    proud-tiger-5743

    02/25/2019, 9:46 PM
    I'm still a little bit confused as to how I can generate IAM policies with previously declared resources. Let say I have an ECS Fargate Task and it's execution role
    const taskRole = new aws.iam.Role('foo',{})
    const task = new awsx.ecs.FargateTaskDefinition('bar',{})
    I'm trying to build a lambda role that can has perms to
    {
              Effect: "Allow",
              Action: ["iam:PassRole"],
              Resource: [taskRole.arn]
    },
    {
              Effect: "Allow",
              Action: ["ecs:RunTask"],
              Resource: [task.taskDefinition.arn]
    }
    But I can't seem to find a combination of apply or pulumi.all that allows me to generate the JSON input into the role. Any ideas?
  • p

    proud-tiger-5743

    02/25/2019, 10:17 PM
    Please ignore the above -> I had a number of syntax errors that were throwing everything off...after starting over again, it all worked šŸ™‚
    šŸ‘ 1
  • l

    lemon-greece-30910

    02/25/2019, 11:05 PM
    Hi, im wondering if someone can help me. i can see in the documentation when creating a container app, you can specify a path to the
    Dockerfile
    with
    awsx.ecs.Image.fromPath
    as show in the example on https://pulumi.io/quickstart/aws/tutorial-service.html ... i would like something similar so i can build an image for kubernetes to work on an example like shown at: https://github.com/pulumi/examples/tree/master/kubernetes-ts-exposed-deployment. i have tried searching the documentation but i am unable to find what i am looking for. perhaps i am searching in the wrong place?
    c
    w
    • 3
    • 8
  • e

    early-musician-41645

    02/26/2019, 12:32 AM
    I spotted this issue: https://github.com/pulumi/pulumi-aws/issues/113 I'd like to šŸ‘ on it because I've got a requirement to track all resources for a specific stack, and also all resources for all stacks in a specific project. I'd also like to easily add tags, e.g. dept. code, owner, etc. Is there already a tagging mechanism I can use for existing Pulumi code?
  • t

    tall-librarian-49374

    02/26/2019, 9:16 AM
    Hi, I'm getting this weird error:
    error: Error: failed to register new resource hello-world4fcc7b60 [aws:lambda/function:Function]: 8 RESOURCE_EXHAED: grpc: received message larger than max (6953666 vs. 4194304)
    for https://gist.github.com/mikhailshilkov/8b6b035e94c5b46b34605fac6a2691be
  • t

    tall-librarian-49374

    02/26/2019, 9:41 AM
    Is there a way to bind
    aws.apigateway.x.API
    route to a
    aws.lambda.Function
    ? @lemon-spoon-91807
    l
    • 2
    • 14
  • b

    busy-daybreak-68237

    02/26/2019, 11:35 AM
    I setup a fargate service which seems to be running, but the load balancer created by Pulumi doesn't have any targets
  • f

    faint-vegetable-61837

    02/26/2019, 2:14 PM
    Cancelled
    pulumi up
    with Ctrl-C, and next time I ran it I got this:
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
     
        The Pulumi runtime detected that 16 promises were still active
        at the time that the process exited. There are a few ways that this can occur:
          * Not using `await` or `.then` on a Promise returned from a Pulumi API
          * Introducing a cyclic dependency between two Pulumi Resources
          * A bug in the Pulumi Runtime
        Leaving promises active is probably not what you want. If you are unsure about
        why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
        environment variable. The Pulumi runtime will then print out additional
        debug information about the leaked promises.
     
    error: an error occurred while advancing the preview
    Canot find anything in the docs on how to move forward from this. My stack is not creating promises, so it must be Pulumi components...
    s
    g
    • 3
    • 20
  • f

    faint-vegetable-61837

    02/26/2019, 2:43 PM
    Is there any way to get the log messages of the stack?
    pulumi logs
    does not print anything, no matter which flags I pass to pulumi (-v 3, etc)
    g
    w
    • 3
    • 6
  • p

    proud-artist-4864

    02/26/2019, 2:46 PM
    Hi, I’m trying to understand what a ComponentResource is vs a CustomResource. I want to do roughly what the awsx stuff does but with our own requirements. Can I create a ComponentResource or CustomResource called ā€œNetworkā€ that contains an ec2.vpc etc that I can get information from, ie (in python)) network = Network() … ec2.do_something(… vpc_id = network.vpc_id)
    l
    • 2
    • 2
  • p

    proud-artist-4864

    02/26/2019, 2:48 PM
    Do I need to set the parent in opts so that the vpc etc are properly tracked? Or add them to the network object? When I try this pulumi doesn’t seem to want to create the dependencies even though it does return the futures expected
  • a

    average-summer-30977

    02/26/2019, 3:33 PM
    Hi! Azure question. Azure ARM is not complete, many things can only be done using Azure CLI. Because of this I ask, how should one integrate Pulumi and Azure CLI? Any good practices?
    s
    • 2
    • 18
  • w

    worried-engineer-33884

    02/26/2019, 3:48 PM
    If I use
    aws.secretsmanager.getSecret
    and pass that into an input for DMS endpoint credentials, are the values stored in pulumi state? are they encrypted?
    w
    • 2
    • 1
  • w

    worried-engineer-33884

    02/26/2019, 3:55 PM
    Also, what is the difference between Pulumi Enterprise and
    pulumi login --local
    ?
    s
    b
    g
    • 4
    • 9
  • b

    better-rainbow-14549

    02/26/2019, 3:57 PM
    https://pulumi.io/reference/state.html#to-the-filesystem-backend
  • b

    better-rainbow-14549

    02/26/2019, 3:57 PM
    if you use local state you have to be very careful about how you share state between team members, or prevent concurrent updates etc.
    w
    • 2
    • 1
  • b

    busy-pizza-73563

    02/26/2019, 5:47 PM
    Hey! I think pulumi updated somehow (does it have automatic updates?), and now it wants to add
    <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: "pulumi"
    label to all my k8s resources (probably because of https://github.com/pulumi/pulumi-kubernetes/commit/f23736ef49b83864a518e8c34135a466ca1f1588). Is there a way to opt-out?
    g
    • 2
    • 13
  • o

    orange-policeman-59119

    02/26/2019, 7:22 PM
    How should I make a namespace an argument to a Kubernetes
    ComponentResource
    ? I would like the component to take a namespace to install into as an argument, but I can't figure out how to extract the
    name
    of the namespace out of a
    k8s.core.v1.Namespace
    object.
    g
    • 2
    • 6
  • o

    orange-policeman-59119

    02/26/2019, 7:23 PM
    Likewise, given an existing namespace, how can I apply a label to it?
    g
    • 2
    • 6
  • w

    worried-engineer-33884

    02/26/2019, 9:08 PM
    (Python) is there an example of how to use data sources in pulumi_aws? i'm getting coroutines back and not sure how to inspect their value
  • c

    chilly-photographer-60932

    02/26/2019, 9:54 PM
    Does Pulumi have API to get stack resources? Like the
    exports
    g
    • 2
    • 13
  • l

    lemon-greece-30910

    02/26/2019, 10:26 PM
    hi, im trying to create a server similar to the example given in https://pulumi.io/quickstart/aws/tutorial-service.html. unlike in the example on the pulumi website (which i guess might be incorrect?), it seems
    fromPath
    in the latest version (0.16.5) requires 2 parameters. but i can not figure out how the second parameter should to be specified. it would be helpful anyone is able to provide an example.
  • g

    gray-greece-11354

    02/26/2019, 11:02 PM
    @white-balloon-205 Hey Luke
  • g

    gray-greece-11354

    02/26/2019, 11:03 PM
    I sent you an email with queries, kindly respond
    g
    • 2
    • 1
  • b

    busy-umbrella-36067

    02/26/2019, 11:47 PM
    which package is this coming from? Our docker builds recently stopped functioning
    The Pulumi runtime detected that 200 promises were still active
        at the time that the process exited. There are a few ways that this can occur:
          * Not using `await` or `.then` on a Promise returned from a Pulumi API
          * Introducing a cyclic dependency between two Pulumi Resources
          * A bug in the Pulumi Runtime
    w
    c
    l
    • 4
    • 13
  • e

    enough-judge-17725

    02/27/2019, 12:04 AM
    Hey. I installed pulumi from fresh on windows, using aws-typescript starter and I get stuck here:
  • e

    enough-judge-17725

    02/27/2019, 12:04 AM
    -.txt
Powered by Linen
Title
e

enough-judge-17725

02/27/2019, 12:04 AM
-.txt
View count: 1