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

    adamant-restaurant-73893

    07/18/2018, 3:27 PM
    Any questions you may have, feel free to set them up here, or live. Thanks!
    👍 1
    s
    b
    • 3
    • 8
  • s

    stocky-spoon-28903

    07/18/2018, 4:00 PM
    Is there any documentation/guidance about bringing up a new language runtime?
    m
    b
    +2
    • 5
    • 17
  • l

    lemon-spoon-91807

    07/18/2018, 8:40 PM
    @adventurous-jordan-10043 I believe your issue may be one that we've fixed recently. If possible, would you be willing to create a quick issue over at pulumi/pulumi on this? i can try to look soon to see: 1. if we've fixed this. 2. if not, how you might workaround this issue.
  • l

    lemon-spoon-91807

    07/18/2018, 8:42 PM
    I believe it may be: https://github.com/pulumi/pulumi/pull/1359/
  • l

    lemon-spoon-91807

    07/18/2018, 8:42 PM
    however, that was fixed a while back. so i woudl have hoped it would have made it into whatever release you are using.
  • a

    adventurous-jordan-10043

    07/19/2018, 6:59 AM
    @lemon-spoon-91807 I will try to repro in a separate repo, I'm using pulumi@latest
  • a

    adventurous-jordan-10043

    07/19/2018, 7:48 AM
    Here it is https://github.com/Octirke/pulumi-import-bug
  • a

    adventurous-jordan-10043

    07/19/2018, 7:49 AM
    This is the workflow I'm trying to implement because I have this kind of code architecture in my current serverless framework project. I'm sad because it seems that the import('./bin/...') hack is not even working anymore.
  • a

    adventurous-jordan-10043

    07/19/2018, 7:51 AM
    I'm currently refactoring to use something more like the cloud.Table component. Btw, I think that if cloud.Table accepted aws.dynamodb.table.TableArgs instead of hardcoding things for the table creation, it would be more flexible no ?
    l
    • 2
    • 162
  • l

    lemon-spoon-91807

    07/19/2018, 8:39 AM
    Thanks!
  • l

    lemon-spoon-91807

    07/19/2018, 8:39 AM
    Btw, I think that if cloud.Table accepted aws.dynamodb.table.TableArgs instead of hardcoding things for the table creation, it would be more flexible no ? (edited)
  • l

    lemon-spoon-91807

    07/19/2018, 8:40 AM
    one of the ideas behind cloud.Table is that it is decoupled from things like dynamo. so we wouldn't want to expose dynamo-specific stuff to it
  • l

    lemon-spoon-91807

    07/19/2018, 8:40 AM
    for example, cloud.Table will work on Azure, GCP, and other platforms (actual work to do this upcoming) 🙂
  • l

    lemon-spoon-91807

    07/19/2018, 8:41 AM
    if there are knobs you'd like though, let us know. if it woudl make sense across any cloud provider, we could def add!
  • a

    adventurous-jordan-10043

    07/19/2018, 8:59 AM
    I'm talking about the aws cloud table https://github.com/pulumi/pulumi-cloud/blob/master/aws/table.ts
  • a

    adventurous-jordan-10043

    07/19/2018, 9:00 AM
    This one is already aws specific nope ?
    s
    • 2
    • 1
  • a

    adventurous-jordan-10043

    07/19/2018, 9:38 AM
    Referencing other modules (even my own code) inside a lambda seems fine (apart from the necessary './bin' hack + the use of import() inside the lambda). Trying to reference my own code inside one of my own module is currently not supported I think. I tried many alternative layouts but basically if I have customModule1 which imports customModule2 and my lambda only has a dep on customModule1 then customModule2 is never present in the final Lambda code.
  • a

    adventurous-jordan-10043

    07/19/2018, 1:15 PM
    I'm also wondering what are the different ways for Pulumi to discover cloud resources to deploy. ATM, I'm forced to import code in index.ts. Is there another mechanism I'm missing ?
    i
    • 2
    • 2
  • s

    stocky-spoon-28903

    07/19/2018, 5:00 PM
    Is there a good way to keep my own key-value pairs in a checkpoint? Perhaps in a custom resource or something
    m
    • 2
    • 4
  • l

    lemon-spoon-91807

    07/19/2018, 6:20 PM
    @adventurous-jordan-10043 Gotcha
  • l

    lemon-spoon-91807

    07/19/2018, 6:20 PM
    This is the aws specific impl of the cloud API
  • l

    lemon-spoon-91807

    07/19/2018, 6:20 PM
    but the idea is that you don't use this type directly
  • l

    lemon-spoon-91807

    07/19/2018, 6:21 PM
    you just say: new cloud.Table
  • l

    lemon-spoon-91807

    07/19/2018, 6:21 PM
    and if you are targetting the aws cloud, it would use that
  • s

    stocky-spoon-28903

    07/19/2018, 6:22 PM
    Are there other implementations of cloud.Table yet?
  • s

    stocky-spoon-28903

    07/19/2018, 6:22 PM
    Just wondering if the idea of it being generic will hold up
  • l

    lemon-spoon-91807

    07/19/2018, 6:23 PM
    definitely a concern we share 🙂
  • l

    lemon-spoon-91807

    07/19/2018, 6:23 PM
    i would say that "cloud" is an area of very open design
  • l

    lemon-spoon-91807

    07/19/2018, 6:24 PM
    in oher words, it may change a lot of as figure things out 🙂
  • l

    lemon-spoon-91807

    07/19/2018, 6:24 PM
    for now, i think a lot of our earlier goals are to bring a good experience to each individual cloud
Powered by Linen
Title
l

lemon-spoon-91807

07/19/2018, 6:24 PM
for now, i think a lot of our earlier goals are to bring a good experience to each individual cloud
View count: 1