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 Resposta
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!

respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas