This message was deleted.
s
This message was deleted.
b
you can’t convert an
Output<T>
to a string. So
pwd
will always be an
Output<T>
You need to use the string inside the apply
Copy code
aws.secretsmanager.get_secret(arn=secret_obj.arn.apply(
  lambda arn: // you can use arn as a string inside here, but you can't convert it to a variable outside the function
))
a
Thank you