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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南