Skip to content

Instantly share code, notes, and snippets.


ohlol/ Secret

Created March 26, 2020 03:45
What would you like to do?
# from stack 'one'
bucket = pulumi_aws.s3.Bucket('my-bucket')
# from stack 'two'
one = StackReference('one')
bucket = one.get_output('bucket_name')
print(bucket) # prints the Object, but I want it to print `my-bucket`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment