This message was deleted.
# python
s
This message was deleted.
g
Given your code you should be able to access the outputs like so:
Copy code
new_account = Account("new_account1", props=AccountCredentials(sid=account_sid, auth_token=auth_token))

new_account_sid = new_account.sid
Does that not work? Are you getting an error?
c
I don't get an error doing that, but when the value is consumed I get the error
TypeError: 'Output' object is not iterable, consider iterating the underlying value inside an 'apply'
. When I use the apply stuff from https://www.pulumi.com/docs/intro/concepts/inputs-outputs/ I also get the same error
g
Can you share your full code?