https://pulumi.com logo
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
  • b

    bland-memory-40988

    06/24/2018, 1:02 AM
    Pulumi looks like it's off to a great start. I see that most of the developer examples are in JS/TS, but I would love to see more then the one example in Python. Do you have a simple example or doc of what is supported by the Pulumi engine for passing Python callables to the get/set/put/post methods of the cloud.HttpEndpoint resource?
  • a

    acoustic-van-24404

    06/24/2018, 11:21 AM
    Pulumi does look great. It was hinted on hackers news that you can self host pulumi and there is the --cloud-url flag on pulumi login which also hints that you can use a back end hosted elsewhere. But I dont see any information on this or the expected rep on git hub? Can we self host and if so how?
  • a

    acoustic-van-24404

    06/24/2018, 11:24 AM
    pulumi login --cloud-url local://
    somewhat works. I wonder if and how I can point that at s3.....
    b
    b
    • 3
    • 2
  • f

    flat-carpet-28845

    06/24/2018, 3:39 PM
    Hey people 🙂
    👋 2
  • f

    flat-carpet-28845

    06/24/2018, 3:39 PM
    I was trying out pulumi today, using golang, even though it’s still in preview
  • f

    flat-carpet-28845

    06/24/2018, 3:42 PM
    And I stumbled upon quite some small issues, but huddled through them, and finally got stuck in an error telling me that I don’t have the aws plugin and I don’t know how to install the aws plugin using the
    pulumi plugin install
    command, as it keeps telling me that the
    KIND
    I mentioned is wrong. I just assumed the
    KIND
    is
    aws
    . I tried searching in the pulumi site a bit, couldn’t find anything. Is this info present in any doc ? 🙂
  • f

    flat-carpet-28845

    06/24/2018, 3:46 PM
    If it is, please let me know. Till then, I am planning to try out pulumi using Js instead 😄
  • f

    flat-carpet-28845

    06/24/2018, 3:48 PM
    Okay, trying out the Js version of the whole thing was pretty easy - packages for the code and aws plugin got installed automatically. looks like plugins are global ? I am able to
    pulumi preview
    even in my golang repo now. I guess there was some issue in automatically getting aws plugin while scaffolding golang project
  • b

    big-piano-35669

    06/24/2018, 3:49 PM
    We will make sure to document this, sorry for the troubles! Other languages automatically install the plugins as part of package management, but we are still working out the best way to do this with Go. In the meantime,
    pulumi plugin install resource aws 0.14.0
    should do the trick.
    👍 2
  • f

    flat-carpet-28845

    06/24/2018, 3:49 PM
    Ah. Okay.
  • b

    big-piano-35669

    06/24/2018, 3:49 PM
    Great! You're entirely correct, we have a global plugin cache. You can see what's in it with
    pulumi plugin ls
    .
  • f

    flat-carpet-28845

    06/24/2018, 3:50 PM
    Yes, that’s how I managed to make sure
    aws
    was present 😄
  • f

    flat-carpet-28845

    06/24/2018, 3:51 PM
    Thanks for the help ! 😄 And about the doc, I would be happy to help document it if you are planning to do it temporarily, till the automated solution is put up
    👍 1
  • b

    big-piano-35669

    06/24/2018, 3:55 PM
    That would be wonderful, really appreciate the help! Definitely curious, where would you yourself have discovered it? The package READMEs have `go get`s, so it could be done there.
  • f

    flat-carpet-28845

    06/24/2018, 3:57 PM
    You mean
    pulumi
    repo readme ?
  • f

    flat-carpet-28845

    06/24/2018, 4:01 PM
    I thought of putting it in the tour site which is the only place that I know of mentioning Golang, Python code. So we could put a note in this page :
    <https://pulumi.io/tour/basics-projects.html>
    where the users create the project
    👍 1
    b
    • 2
    • 2
  • f

    flat-carpet-28845

    06/24/2018, 4:08 PM
    I even made some small mistakes. Not sure if some of them can be documented to help others like me. I made mistakes like not creating the project in the Go workspace directory (
    $GOPATH
    ). Then I didn’t do
    go build
    and
    go install .
    to get the executable in the
    $PATH
    through the
    $GOPATH/bin
    - I guessed this from the error I got about the program executable missing. And while doing that I realized the dependencies didn’t install automatically, so I installed it using
    dep ensure
    , and then I faced the plugin issue finally, for which you just helped me 🙂
    b
    • 2
    • 2
  • f

    flat-carpet-28845

    06/24/2018, 4:37 PM
    Thanks to @echoing-match-29901 for the cool software ! 😄 It’s pretty cool! I just followed the tour in the site and saw how easy it is to create a s3 bucket and change
    acl
    in it, all in just a few lines of code. 😄 This is the first time I am doing such automated deployment related stuff, but I can make sense out of how much effort has been put into this as it feels so easy because of the fact that
    pulumi
    has done all the heavy lifting
    🎉 1
    b
    • 2
    • 1
  • f

    flat-carpet-28845

    06/24/2018, 4:39 PM
    It also makes sense of how easy it is to reproduce the deployment with the same code! 😄
  • b

    bland-memory-40988

    06/24/2018, 4:54 PM
    @big-piano-35669 is there a simple example or doc of what is supported by the Pulumi engine for passing Python callables to the get/set/put/post methods of the cloud.HttpEndpoint resource?
  • b

    bland-memory-40988

    06/24/2018, 5:14 PM
    Okay I see that the HttpEndpoint is only for JS/TS https://github.com/pulumi/pulumi-cloud/tree/master/api
  • b

    big-piano-35669

    06/24/2018, 5:17 PM
    Ah yes, sorry for missing your question earlier, Tony. That is right, the
    API
    class (renamed from
    HttpEndpoint
    ) is JS/TS-only at the moment. The cloud package overall is still in a very early state, so definitely eager to hear feedback on the concepts there and where you'd like to see us take them.
  • b

    bland-memory-40988

    06/24/2018, 5:19 PM
    It would be nice to have a python package of pulumi-cloud
  • b

    bland-memory-40988

    06/24/2018, 5:20 PM
    Do you intended to port the JS/TS framework or is that something you are leaving to the community?
  • b

    bland-memory-40988

    06/24/2018, 5:52 PM
    @big-piano-35669 Good to see that Sean started porting pulumi-aws-infra in python. I see Network was worked on last week. I suspect Cluster, etc.. are on his road map which would make porting pulumi-cloud's shared.ts to shared.py as a first step straightforward
    👍 2
    b
    • 2
    • 1
  • b

    big-soccer-75859

    06/24/2018, 9:54 PM
    Spent today wrapping Pulumi in a framework with IoC container etc. Will blog post my results when I've cleaned them up a bit and built an npm module for it.
    🎉 2
    👍 4
    a
    • 2
    • 2
  • r

    refined-airplane-93668

    06/25/2018, 7:29 AM
    Howdy folks, maybe covered somewhere already but interested in the thinking/vision around deploying whole docker applications as code, into different clouds AWS/Azure with support for Kubernetes and Azure Service Fabric orchestrators?
    w
    • 2
    • 4
  • w

    witty-table-75999

    06/25/2018, 9:02 AM
    Hello, I was wondering how could new cloud could be added to pulumi? Do you have a guide for cloud provider to add support for their cloud on your framework?
    w
    • 2
    • 1
  • a

    acoustic-van-24404

    06/25/2018, 9:35 AM
    I spent the day using this to bring up a vpc and associated infrastructure on aws. I do like it. Is there a recommended get the outputs of one project and feed them into the inputs of another project? I want to define a route53 zone in a project called "site" that all the stacks of another project reference.
    w
    • 2
    • 1
  • s

    stocky-spoon-28903

    06/25/2018, 9:39 AM
    @acoustic-van-24404 There was some talk about that the other day, and as far as I am aware that is still to do.
Powered by Linen
Title
s

stocky-spoon-28903

06/25/2018, 9:39 AM
@acoustic-van-24404 There was some talk about that the other day, and as far as I am aware that is still to do.
View count: 2