https://pulumi.com logo
Title
p

purple-megabyte-83002

12/25/2021, 3:06 PM
while
secrets[].valueFrom
needs a
string
q

quiet-wolf-18467

12/25/2021, 3:07 PM
Try
jwtSecret.arn.apply((arn) => arn)
p

purple-megabyte-83002

12/25/2021, 3:09 PM
same .apply() returns an
Output<string>
not a
string
q

quiet-wolf-18467

12/25/2021, 3:10 PM
Ok. Then you'll need to put the fargate resource creation inside the apply
Output functions are a new feature too: https://www.pulumi.com/blog/functions-accept-outputs/
❤️ 1
p

purple-megabyte-83002

12/25/2021, 3:17 PM
ok made it works
as I had multiple Params, I used
pulumi.all
wait for all my
Output<string>
to resolve to
string
before using them in my fargate service
q

quiet-wolf-18467

12/25/2021, 3:19 PM
Awesome 😀
p

purple-megabyte-83002

12/25/2021, 3:20 PM
thank you mate have a great weekend @quiet-wolf-18467