1
votes

I try to set up AWS ECS task definition of my docker frontend container to an AWS backend url.

In my .env.production:

REACT_APP_HOST=secrets.BACKEND_URL

how should I modify my secrets format or syntax, so that in my ECS task definition when I set container environment variable can be correctly used? key: BACKEND_URL value:xxxxx

Thanks

1
Not sure if I inderstamd your use case entirely but you can save your secrets in Secrets Manager or AWS SSM parameter store and pull them in your task defAli

1 Answers

1
votes