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

    tall-librarian-49374

    01/22/2019, 4:22 PM
    Another example I need: an AWS Lambda with VPC access with all wiring done
  • t

    tall-librarian-49374

    01/22/2019, 4:22 PM
    Just in case someone has it
  • s

    stocky-spoon-28903

    01/22/2019, 4:23 PM
    @tall-librarian-49374 I’ve done the VPC access one before, I forget where though…
  • s

    stocky-spoon-28903

    01/22/2019, 4:23 PM
    It should probably be an example
  • t

    tall-librarian-49374

    01/22/2019, 4:27 PM
    I'm using your pulumi-aws-vpc, looks like I got it working
  • t

    tall-librarian-49374

    01/22/2019, 4:28 PM
    Lambda needs a
    securityGroupIds
    parameter so I had to get
    defaultSecurityGroupId
    from the inners of your vpc
  • s

    stocky-spoon-28903

    01/22/2019, 4:29 PM
    Oh, feel free to make a PR to export that if you want
  • s

    stocky-spoon-28903

    01/22/2019, 4:29 PM
    I just put in the minimal set of bits - personally I never use the default security group and always create service specific ones in the VPC
  • t

    tall-librarian-49374

    01/22/2019, 4:32 PM
    Btw why is it a factory method and not just component?
  • s

    stocky-spoon-28903

    01/22/2019, 4:34 PM
    Mostly because it needs prompt access to data source values
  • s

    stocky-spoon-28903

    01/22/2019, 4:34 PM
    It’s not necessarily the only way, I was new to typescript when I wrote that module
  • s

    stocky-spoon-28903

    01/22/2019, 4:35 PM
    I should probably get one of the actual typescript experts at pulumi to look over it and suggest improvements
    t
    • 2
    • 6
  • a

    adamant-restaurant-73893

    01/22/2019, 4:44 PM
    Hey all, @white-balloon-205 is back with our live streamed 'Office Hours' tomorrow. Join us if you can.

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

    We're happy to take questions live, or prime the topics here. Bring out your issues!
    👍 1
  • c

    chilly-dusk-63796

    01/22/2019, 6:05 PM
    Hi all - we are sending out Pulumi beanies to thank everyone for supporting us and collect some testimonials. Check it out! https://info.pulumi.com/one-quote-for-one-beanie
  • o

    orange-tailor-85423

    01/22/2019, 6:57 PM
    anybody have a good link for passing return values back up through one or more arrow functions? Struggling with the concept a bit
  • s

    shy-finland-77998

    01/22/2019, 6:57 PM
    super cool!
  • o

    orange-tailor-85423

    01/22/2019, 6:57 PM
    I have a "regular" function that has a promise function inside it. Return value from promise function but now want that value back out of the "regular" function
  • o

    orange-tailor-85423

    01/22/2019, 6:58 PM
    -.ts
  • o

    orange-tailor-85423

    01/22/2019, 6:58 PM
    I want that k8sNamespacAdminRole back from the main function
    w
    • 2
    • 6
  • o

    orange-tailor-85423

    01/22/2019, 6:59 PM
    sorry I know this is a Typescript thing but figured I'd ask
  • b

    bitter-island-28909

    01/22/2019, 8:28 PM
    Hey sorry to ask a dumb question, but I’m sure it has a quick answer. I am on Pulumi v0.16.11, and it looks like the
    pulumi.concat
    and
    pulumi.interpolate
    functions are not defined? Am I missing something obvious?
    w
    • 2
    • 10
  • b

    bitter-island-28909

    01/22/2019, 8:59 PM
    Is npmjs.pulumi.com down right now? I get this error whenever I attempt to do a
    npm install
    with the newer version (which was my problem):
    npm WARN registry Using stale data from <https://npmjs.pulumi.com/> because the host is inaccessible -- are you offline?
    npm WARN registry Using stale package data from <https://npmjs.pulumi.com/> due to a request error during revalidation.
    npm ERR! code ETARGET
    npm ERR! notarget No matching version found for @pulumi/pulumi@0.16.11
    And just testing with ping:
    $ ping <http://npmjs.pulumi.com|npmjs.pulumi.com>
    ping: cannot resolve <http://npmjs.pulumi.com|npmjs.pulumi.com>: Unknown host
    s
    c
    • 3
    • 6
  • b

    bitter-island-28909

    01/22/2019, 9:47 PM
    So one thing that would be quite helpful for me is an alternative to`JSON.stringify` that knows how to handle deeply nested Outputs/Promises and returns a Promise as appropriate. Does something like that already exist, and if not, would you be interested in a contribution of such a function? Could be really helpful for building up those complex policy documents, etc.
    s
    • 2
    • 4
  • b

    brainy-magician-83981

    01/22/2019, 10:19 PM
    Hello! Looking for AWS examples to: 1. Create Dynamodb with autoscaling 2. Attaching a Lambda to listen for stream events
    w
    • 2
    • 8
  • o

    orange-tailor-85423

    01/23/2019, 12:34 AM
    Anybody come up with a clever way to generate/update the kubeconfig output to include the items needed to do IAM role assumption? I.e. the arg such a 'r' and the name of the role to use?
  • o

    orange-tailor-85423

    01/23/2019, 12:34 AM
    Related, saw this too: https://github.com/kubernetes/kubectl/issues/396
    c
    • 2
    • 2
  • b

    brainy-magician-83981

    01/23/2019, 4:42 AM
    Pulumi is adding a random number to the AWS resources. For example:
    let table = new aws.dynamodb.Table('mytable')
    Pulumi will create this table in Dynamodb as: mytable-314142
  • b

    brainy-magician-83981

    01/23/2019, 4:42 AM
    how do we prevent the random number?
    w
    • 2
    • 4
  • b

    better-rainbow-14549

    01/23/2019, 10:49 AM
    is there any way to get a debugger going on the typescript?
    w
    • 2
    • 1
  • b

    better-rainbow-14549

    01/23/2019, 1:56 PM
    pulumi-nodejs:dynamic:Resource (test-db1-deploy-provisioner):
        error: Plan apply failed: Resource.isInstance is not a function
    • 1
    • 1
Powered by Linen
Title
b

better-rainbow-14549

01/23/2019, 1:56 PM
pulumi-nodejs:dynamic:Resource (test-db1-deploy-provisioner):
    error: Plan apply failed: Resource.isInstance is not a function
😞
View count: 1