Is it possible to share secrets among ECS Container Definitions in Cloud-formation?

165 views Asked by At

I have requirement to create 5 Container definitions which have common environmental variables as secrets. But the count of them is around 50. So instead of duplicating these 50 secrets, is there a way I can create all these a single resource and refer them in all container definitions ?

1

There are 1 answers

3
old greg On

You could use AWS Systems Manager Parameter Store. It's intended for this kind of situation, when sharing config values between multiple containers, lambda functions, etc.