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 回答
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!

已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则