Hi, I am trying to create a `aws.secretsmanager.Se...
# aws
f
Hi, I am trying to create a
aws.secretsmanager.Secret
and then use this secret in the
environment
for a
Container
but I am not sure how to achieve this as the
aws.ecs.Secret.valueFrom
property only accepts a string rather than an
Input
\`Output` - is there a way to resolve the ARN output from the secret I created so that I may pass it into
valueFrom
?
b
I write my entire container definition JSON in an
.apply(..)
call so that I can write the ARNs into the container definition JSON.
f
oh thats interesting.. thanks for the tip
i just found this issue also https://github.com/pulumi/pulumi-aws/issues/1150 which seems to indicate that passing the
.arn
in will work, though the typescript definitions are wrong... testing this out right now
b
Oh you're using
awsx
. I've encountered issues like that in crosswalk a lot, such as when it frequently required entire resources to be passed in rather than inputs. We transitioned to not using crosswalk at all