Setting new secret in task manager

0

I am taking over an existing project and I am quite new to AWS. I am trying to add a new secret variable inside a task, which is supposed to be used when a service is deployed.

What I have noticed is that a new revision with the old config gets created when my pipeline is executed when deploying my service.

Is there a specific place that these must be set, in order to create a new task revision with this variable set?

1 Answer
5

I´m assuming you are referring to ECS tasks running on ECS.

Whenever you update a Task definition (for example with new variables) a new version of the task is being generated, but the service does not update automatically. You´ll need to update the Service definition as well, selecting the updated Task definition.

For more information, please refer to AWS documentation https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-console-v2.html

Good Luck!

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions