https://pulumi.com logo
#aws
Title
# aws
r

rhythmic-camera-25993

01/13/2020, 10:04 PM
one you've got the
Secret
with a value, you can use the secret in your taskDefinition's container definition, eg:
Copy code
// secrets can be passed in as env variables too!
            secrets: dbPassword.arn.apply(arn =>[
                { name: "PGPASSWORD", valueFrom: arn }
            ]),
where
dbPassword
is a
SecretValue
resource that I used to set a password on a
dbPassword
Secret
2 Views