Thread
#python
    p

    prehistoric-book-85014

    1 month ago
    Good afternoon guys, how are you? How can I get all values ​​from export using python?
    b

    billowy-army-68599

    1 month ago
    can you elaborate on what you mean by “all values from export” ?
    a

    ambitious-father-68746

    1 month ago
    if I had to guess, is
    pulumi stack output
    what you're looking for @prehistoric-book-85014?
    p

    prehistoric-book-85014

    1 month ago
    Hey guys sorry for the delay!
    
    Regarding my question, for example I want to upload a resource and be able to print any element of it like "arn"
    a

    ambitious-father-68746

    1 month ago
    It depends on what you want to do, really. For me the best way is to use pulumi.export:
    resource = ...
    
    pulumi.export(
        "resource_arn",
        resource.arn,
    )
    You'll then have this as an output of the stack and it will be printed by default when doing a pulumi up. You can also use this to share values between stacks.