This message was deleted.
# getting-started
s
This message was deleted.
e
Your pulumi program is trying to pass a
TextIOWrapper
to something that's probably expecting a
str
. I'd check what parameters your passing in the resource constructors
d
thanks, that's right, turns out the problem was that i was passing this as the policy argument to the s3.Bucket constructor:
(lambda path: open(path))('policy.json')
when it should have been
(lambda path: open(path).read())('policy.json')