agreeable-businessperson-73427
11/04/2022, 1:52 PMpwd = aws.secretsmanager.get_secret(arn=secret_obj.arn.apply(lambda arn: arn))
saw online that Output<T> would need to be converted using .apply() which is what I am trying to do with a lambda that returns the arn but that doesnt seem to be doing itbillowy-army-68599
11/04/2022, 3:04 PMOutput<T>
to a string. So pwd
will always be an Output<T>
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
))
agreeable-businessperson-73427
11/04/2022, 3:49 PM