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

    enough-judge-17725

    02/27/2019, 12:05 AM
    Just hangs here forever
  • e

    enough-judge-17725

    02/27/2019, 12:05 AM
    If i try to cancel, it just gets stuck
  • e

    enough-judge-17725

    02/27/2019, 12:05 AM
    -.txt
  • e

    enough-judge-17725

    02/27/2019, 12:24 AM
    nevermind. i found the note about limited Windows support. running on linux now 🙂
  • g

    gentle-diamond-70147

    02/27/2019, 12:31 AM
    You definitely shouldn't be hitting issues like that.
  • g

    gentle-diamond-70147

    02/27/2019, 12:31 AM
    Can you tell me where you saw the note about limited Windows support? 😕
  • e

    enough-judge-17725

    02/27/2019, 12:32 AM
    https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md
  • e

    enough-judge-17725

    02/27/2019, 12:32 AM
    I thought it might be a bug with the version i was using, so was going to build from source
  • e

    enough-judge-17725

    02/27/2019, 12:32 AM
    Then I stumbled across that 😄
  • g

    gentle-diamond-70147

    02/27/2019, 12:33 AM
    Oh, that's about developing Pulumi itself, meaning compiling the Pulumi binaries, providers, etc.
  • g

    gentle-diamond-70147

    02/27/2019, 12:34 AM
    The Pulumi applications you write should work just fine on Windows.
  • g

    gentle-diamond-70147

    02/27/2019, 12:34 AM
    Do you have a proxy or something between you and the AWS APIs?
  • e

    enough-judge-17725

    02/27/2019, 12:35 AM
    Nope
  • e

    enough-judge-17725

    02/27/2019, 12:37 AM
    I tried both version 0.16.14 and 0.16.12 if that helps
    w
    • 2
    • 4
  • b

    busy-daybreak-68237

    02/27/2019, 11:15 AM
    I'm trying to setup a private service on AWS fargate. Pulumi wants to create subnets for me and a load balancer
  • b

    busy-daybreak-68237

    02/27/2019, 11:15 AM
    How can I prevent this default behavior?
    s
    w
    • 3
    • 3
  • b

    busy-daybreak-68237

    02/27/2019, 11:53 AM
    Is it possible to setup a fargate service with more than one exposed port?
  • b

    busy-daybreak-68237

    02/27/2019, 12:13 PM
    I guess not for ECS at all. That's annoying
    w
    • 2
    • 7
  • w

    worried-engineer-33884

    02/27/2019, 2:43 PM
    (Python) is there an example of how to use data sources in pulumi_aws? i'm getting coroutines back and not sure how to inspect their value e.g. if i have
    from pulumi_aws import secretsmanager
    
    my_secret = secretsmanager.get_secret_version(secret_id="my-secret")
    In aws terraform, I would normally be able to access the attribute
    secret_string
    on this data source. how do i access that here so that i can use it as an input to another resource and/or log it to console so that i can inspect the value and see that things are working as i expect?
    b
    • 2
    • 3
  • t

    thousands-notebook-91098

    02/27/2019, 2:45 PM
    https://github.com/pulumi/pulumi-aws/blob/master/sdk/python/pulumi_aws/secretsmanager/get_secret_version.py
  • t

    thousands-notebook-91098

    02/27/2019, 2:46 PM
    so wouldn't it be
    my_secret.secret_string
    ?
  • w

    worried-engineer-33884

    02/27/2019, 2:47 PM
    yeah, except it's using an async function, and i'm having trouble awaiting it — i'm not sure how to go about async/await in a pulumi program, my attempts so far have failed
  • t

    thousands-notebook-91098

    02/27/2019, 2:47 PM
    hmmm, yeah
  • t

    thousands-notebook-91098

    02/27/2019, 2:47 PM
    my python-fu isn't to that level
  • t

    thousands-notebook-91098

    02/27/2019, 2:47 PM
    and I see now it's an async function
  • t

    thousands-notebook-91098

    02/27/2019, 2:48 PM
    skimmed past that on my first read
  • w

    worried-engineer-33884

    02/27/2019, 2:48 PM
    np — i don't mind setting up some kind of async'y program, but i'd like an example of how this is typically done in practice
  • t

    thousands-notebook-91098

    02/27/2019, 3:20 PM
    so wait, wouldn't you do
    my_secret = await secretsmanager.get_secret_version(blah)
    ?
  • t

    thousands-notebook-91098

    02/27/2019, 3:20 PM
    I'm reading up on async python now
  • t

    thousands-notebook-91098

    02/27/2019, 3:20 PM
    i know when I used to do this kinda stuff in Ruby there were ways to block while you waited for the value
Powered by Linen
Title
t

thousands-notebook-91098

02/27/2019, 3:20 PM
i know when I used to do this kinda stuff in Ruby there were ways to block while you waited for the value
View count: 1