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
python
  • f

    flat-river-10700

    11/14/2018, 1:37 AM
    w00t!
  • i

    incalculable-sundown-82514

    11/14/2018, 1:37 AM
    and so we’re a bit behind on documentation fixes, unfortunately…
  • f

    flat-river-10700

    11/14/2018, 1:37 AM
    🎉
  • c

    creamy-potato-29402

    11/14/2018, 1:37 AM
    literally the exact 12 hours you’d hit this
  • f

    flat-river-10700

    11/14/2018, 1:38 AM
    haha
  • f

    flat-river-10700

    11/14/2018, 1:44 AM
    Seems to work now in a python3 virtualenv. Thanks!
    🎉 1
  • i

    incalculable-sundown-82514

    11/14/2018, 1:45 AM
    awesome!!
  • i

    incalculable-sundown-82514

    11/14/2018, 1:46 AM
    feel free to DM me or drop lines in here if you run into trouble or have questions. We’ve done a ton of work on this over the past few weeks and we’d love to hear about your experience with it
  • i

    incalculable-sundown-82514

    11/14/2018, 1:46 AM
    there’s still work to do before Python 3 is really ready for primetime, but at least I’m pretty confident it’s solid now.
  • f

    flat-river-10700

    11/14/2018, 1:47 AM
    Will do, thank you
  • f

    flat-river-10700

    11/14/2018, 10:20 PM
    Attempting to
    pulumi up
    with this example: https://github.com/pulumi/examples/tree/master/aws-py-webserver It never creates anything after doing a
    pulumi up
    . I see this in the output:
    Diagnostics:
      pulumi:pulumi:Stack (webserver-py-python-webserver-testing):
        /home/wes/.pulumi/bin/pulumi-language-python-exec:57: RuntimeWarning: coroutine 'run_in_stack' was never awaited
          pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
    w
    e
    i
    • 4
    • 11
  • m

    miniature-ocean-94245

    12/06/2018, 5:41 PM
    Any update on the Python documentation? Trying to decide between Terraform and Pulumi, and we’re a Python shop. No much use without the documentation…
    w
    i
    • 3
    • 2
  • i

    incalculable-soccer-97284

    12/09/2018, 9:19 PM
    QQ: I'm still playing with this, but I think it would be powerful if
    Resource
    be made Awaitable, roughly:
    class Resource():
        def __await__(self):
            return self.id.future()__await__
    This allows me to manage my resources in async more conveniently, including I/O packaging my series of lambda src code. Wdyt? Obviously we need an async version of
    register_resource()
    and externalizing loop may feel icky.
    w
    i
    • 3
    • 14
  • p

    polite-helmet-87481

    12/24/2018, 4:23 PM
    Hi all, i am trying out
    pulumi
    and i can’t even get the
    python
    version working correctly, the
    js
    is working as expected.
  • p

    polite-helmet-87481

    12/24/2018, 4:26 PM
    user@dev:~/test/examples/aws-py-webserver$ sudo !!
    sudo /home/user/.pulumi/bin/pulumi up
    Previewing update (python-webserver-test):
    
         Type                 Name                                Plan     Info
         pulumi:pulumi:Stack  webserver-py-python-webserver-test           1 error
    
    Diagnostics:
      pulumi:pulumi:Stack (webserver-py-python-webserver-test):
        error: an unhandled error occurred: Program exited with non-zero exit code: 1
    
    error: an error occurred while advancing the preview
    Using this example to kickstart the project
    <https://github.com/pulumi/examples/tree/master/aws-py-webserver>
    .
    i
    • 2
    • 1
  • f

    flat-river-10700

    01/10/2019, 5:59 PM
    Hello! I copied pulumi code from one directory to another, and now it doesn't seem to want to
    pulumi up
    $ pulumi up -d
    warning: A new version of Pulumi is available. To upgrade from version '0.16.8' to '0.16.9', run 
       $ curl -sSL <https://get.pulumi.com> | sh
    or visit <https://pulumi.io/install> for manual instructions and release notes.
    Previewing update (python-webserver-testing):
    
         Type                 Name                                   Plan     Info
         pulumi:pulumi:Stack  webserver-py-python-webserver-testing           1 error
     
    Diagnostics:
      pulumi:pulumi:Stack (webserver-py-python-webserver-testing):
        error: an unhandled error occurred: Program exited with non-zero exit code: 1
     
    error: an error occurred while advancing the preview
    What's going on here?
    i
    • 2
    • 55
  • b

    boundless-room-36997

    01/16/2019, 2:10 PM
    Hello, what is the state of Python support in Pulumi ? When I had a look some time ago it was quite behind Typescript etc ...
    i
    w
    • 3
    • 4
  • m

    microscopic-florist-22719

    01/16/2019, 6:15 PM
    @incalculable-sundown-82514 is actively working on improving our Python support. The Python language support is much more fully fleshed out than it was before, and includes better support for the same Pulumi concepts we use in TS.
  • i

    icy-dress-83371

    01/28/2019, 2:53 AM
    Anyone know a good place to look for more examples of pulumi python? I look through the samples section, and there is 1 or 2 which are aws related. I'm looking to try converting my terraform into pulumi for all my azure infrastructure, but don't have a great starting point example wise.
    g
    b
    • 3
    • 6
  • i

    icy-dress-83371

    01/28/2019, 2:57 AM
    Also, I am currently storing my terraform state remotely in a private blob storage (could be s3, no difference to me). Anyone got a working solution for private remote state yet, I do know there was some work being done towards it in github issues. But there is like separate issues, and they are a little intertwined.
  • l

    little-river-49422

    02/04/2019, 8:43 PM
    hey folks, i'm completely new to this stuff.
  • l

    little-river-49422

    02/04/2019, 8:44 PM
    so I guess: "Hi". I'll be lurking here trying to make some sense of what I read in the docs. currently I cant. need more time.
  • l

    little-river-49422

    02/04/2019, 8:44 PM
    best of luck everybody
  • i

    incalculable-sundown-82514

    02/04/2019, 8:45 PM
    hi! feel free to ask any questions you might have - we’re working hard to improve our python docs!
  • l

    little-river-49422

    02/04/2019, 8:47 PM
    i guess I only have 1 immediate question. docs say: providers are not supported in python. in my mind azure\kubernetes\aws are providers. so that means nothing works?
  • i

    incalculable-sundown-82514

    02/04/2019, 8:48 PM
    where do you see that in the docs? We support all of azure/kubernetes/aws
  • i

    incalculable-sundown-82514

    02/04/2019, 8:48 PM
    so we should fix that 😄
  • l

    little-river-49422

    02/04/2019, 8:48 PM
  • l

    little-river-49422

    02/04/2019, 8:48 PM
    https://pulumi.io/reference/programming-model.html#providers
  • l

    little-river-49422

    02/04/2019, 8:49 PM
    which in my mind reads == nothing works in python 🙂
Powered by Linen
Title
l

little-river-49422

02/04/2019, 8:49 PM
which in my mind reads == nothing works in python 🙂
View count: 1