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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ