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

    10/08/2018, 3:19 PM
    Hey guys, I'm wondering if anyone has had any success being able to run lovell/sharp in AWS using the cloud.HttpServer abstraction?
  • j

    jolly-lifeguard-22556

    10/08/2018, 3:21 PM
    When you
    pulumi up
    on a js/ts project using cloud.HttpServer does it just zip up your local node_modules folder and upload to Lambda? I've tried all kinds of combinations of how I actually build the sharp module. I'm running Ubuntu locally so I think that it should be compatible with Lambda anyways but also tried using docker builds as described here: http://sharp.pixelplumbing.com/en/stable/install/#aws-lambda
    w
    l
    • 3
    • 8
  • j

    jolly-lifeguard-22556

    10/08/2018, 3:30 PM
    Tangential question. If using cloud.HttpServer is there any way to also configure the resulting Resource in a cloud specific way? I'd like to be able to set the RAM requirements for the resulting Lambda function when deploying to AWS
  • q

    quiet-wolf-18467

    10/08/2018, 4:49 PM
    Most of the examples use a single
    index.ts
    to define all resources
    w
    • 2
    • 11
  • q

    quiet-wolf-18467

    10/08/2018, 5:24 PM
    The configuration of projects / stack names are rather frustrating
    w
    t
    +2
    • 5
    • 17
  • b

    brave-angle-33257

    10/08/2018, 6:10 PM
    odd error here: https://github.com/pulumi/pulumi-azure/blob/master/sdk/python/pulumi_azure/role/assignment.py
  • b

    brave-angle-33257

    10/08/2018, 6:10 PM
    Diagnostics:
      global: global
        error: unrecognized resource type (Check): azure:role/assignment:Assignment
    w
    • 2
    • 3
  • b

    brave-angle-33257

    10/08/2018, 6:11 PM
    from pulumi_azure import ( msi, role )
    
            assignment_name = "{}-asgn".format(vault['id'])
            vault_assignment = role.Assignment(assignment_name,
                name=assignment_name,
                principal_id=uai.principal_id,
                role_definition_name="Reader",
                scope=SUBSCRIPTION_PRE.format(
                    vars.subscription_id,
                    resource_group_name,
                    'Microsoft.KeyVault',
                    'vaults',
                    vault_name
                )
            )
  • b

    brave-angle-33257

    10/08/2018, 6:12 PM
    is there a better channel for this type of thing?
  • b

    brave-angle-33257

    10/08/2018, 6:21 PM
    this ^ is from a git install of HEAD on pulumi-azure, reverting down a version from pypi and using role.assignment (vs role.Assignment as corrected in HEAD) works.. so maybe there's a list of "valid" resources that wasn't updated, or maybe I need to also pull pulumi from HEAD also
  • m

    mammoth-honey-42463

    10/08/2018, 7:49 PM
    just to be sure, you are trying to make this work for Netsuite UI, correct?
  • b

    busy-umbrella-36067

    10/08/2018, 10:26 PM
    im seeing an issue, if pulumi fails to apply annotations to a k8s service, it wont recognize the annotation is gone when you run
    pulumi refresh
  • b

    busy-umbrella-36067

    10/08/2018, 10:27 PM
    the diffs will show its still in the state, but the k8s api says otherwise
    b
    c
    • 3
    • 14
  • b

    busy-umbrella-36067

    10/08/2018, 10:29 PM
    the annotation in question
    aws-load-balancer-internal
    , true should be wrapped in quotes
    Diagnostics:
      kubernetes:core:Service: XXXXXXX
        error: Plan apply failed: 1 error occurred:
        
        * unrecognized type: string
    metadata: {
          name: name,
          annotations: {
            "<http://external-dns.alpha.kubernetes.io/hostname|external-dns.alpha.kubernetes.io/hostname>": `XXXXXXXXX`,
            "<http://service.beta.kubernetes.io/aws-load-balancer-internal|service.beta.kubernetes.io/aws-load-balancer-internal>": true
        },
    g
    • 2
    • 2
  • c

    cool-helicopter-70130

    10/09/2018, 8:28 AM
    When is the next release due? There’s a change in
    master
    in
    @pulumi/cloud-aws
    that I really want to use (and have currently hacked in on my installed version - I was going raise a PR and you’d already done it 😁)
    w
    • 2
    • 2
  • a

    able-computer-33023

    10/09/2018, 4:52 PM
    Thanks @adventurous-action-89434!
    a
    • 2
    • 1
  • b

    brave-angle-33257

    10/09/2018, 5:04 PM
    i have my ARM_* env variables set, and I'm trying to pull in the "tenantID", I assumed this would work in TS:

    https://s3-us-west-2.amazonaws.com/billeci-screenshots/index.ts__Untitled_Workspace_2018-10-09_10-03-08.png▾

    since it seems to pull in from the env: https://github.com/pulumi/pulumi-azure/blob/a6ec0b6185626513ecea411e27c4002640b5152c/sdk/nodejs/config/vars.ts#L16
  • b

    brave-angle-33257

    10/09/2018, 5:04 PM
    but I'm getting an undefined error at runtime
    w
    • 2
    • 12
  • c

    cuddly-leather-18640

    10/09/2018, 7:51 PM
    does pulumi support tagging docker images? searching https://pulumi.io/reference/pkg/nodejs/@pulumi/docker/index.html for
    tag
    yields 10 results, all but one of which are part of the word
    stage
    .
  • c

    cool-helicopter-70130

    10/10/2018, 6:24 AM
    I’m trying to use AWS API Gateway with a custom authorizer lambda, and it looks like the authorizer needs to be attached to each method / path defined - I don’t need a way in the AWS docs to use the authorizer for all routes. I was wondering if Pulumi intended to offer anything here to make this easier. I’d have to stop using the pulumi-cloud abstraction otherwise, which would be sad since I like how it works.
    w
    l
    • 3
    • 3
  • e

    elegant-planet-7298

    10/10/2018, 9:17 AM
    I was using
    pulumi.output('foo', bar)
    for a while with
    pulumi stack output foo
    and it was working fine. But now I seem to be getting
    error: current stack does not have output property 'foo'
    even though 'foo' is listed in
    pulumi stack output
    . Any ideas if this is related to a pulumi update or something I've stuffed up?
    w
    • 2
    • 4
  • s

    sparse-insurance-40223

    10/10/2018, 10:26 AM
    are there any examples anywhere of azure keyvault + secrets
  • s

    sparse-insurance-40223

    10/10/2018, 10:26 AM
    i'm creating the vault and then don't have access to create a secret in it
    w
    • 2
    • 1
  • a

    adamant-restaurant-73893

    10/10/2018, 3:31 PM
    @lemon-spoon-91807 discusses "closure serialized functions" or "magic functions" 🎩 🐰 https://blog.pulumi.com/lambdas-as-lambdas-the-magic-of-simple-serverless-functions
  • a

    adamant-restaurant-73893

    10/10/2018, 6:06 PM
    Luke is live on YouTube right now talking reusable components with Pulumi. Join in!

    https://www.youtube.com/watch?v=SgiP9d1oLs4▾

    👍 1
  • b

    brave-angle-33257

    10/10/2018, 7:02 PM
    Question: when trying to create an Azure storage account, and then a container inside that account in the same pulumi stack, I get an error saying "account doesn't exist" on the storage/container first build. If I run it again right after, then the account exists and container will get built. Is there a "depends on" process or something similar, or should this be managed by Pulumi?
    b
    • 2
    • 5
  • g

    gifted-island-55702

    10/10/2018, 8:38 PM
    Hi! Is it possible to create a GCP project from Pulumi (as a Pulumi resource)?
    g
    • 2
    • 3
  • a

    adamant-restaurant-73893

    10/10/2018, 9:26 PM
    🎉 Thanks to the 3️⃣ 0️⃣ 0️⃣ of you who are now part of this community channel. Want a t-shirt? Sure you do! (It's OK to just say nice things in the form, but a blog post or review is cool too). https://info.pulumi.com/community/give-me-a-tshirt
    👀 2
  • a

    adamant-restaurant-73893

    10/10/2018, 9:26 PM
    Also if you're hitting up a meetup and need some stickers and things, DM me and we'll ship you some stuff.
  • q

    quiet-wolf-18467

    10/10/2018, 10:45 PM
    Great video, @white-balloon-205 😄
Powered by Linen
Title
q

quiet-wolf-18467

10/10/2018, 10:45 PM
Great video, @white-balloon-205 😄
View count: 1