Step Function Task stuck "In Progress" if no permission to read CodeBuild status

0

Hello,

I am using Step Functions with the arn:aws:states:::codebuild:startBuild.sync task. The necessary permissions are documented here.

I noticed that there is no error and the task will remain "In Progress" when one forgets to add the codebuild:BatchGetBuilds and codebuild:BatchGetReports permissions to the step function's role. I think it would be a good idea to check if these permissions are given and to throw an error if they aren't.

Best regards, Moritz

1 Resposta
1

Hi Moritz, it is always recommended to set a timeout for your tasks in Step Functions to avoid such cases, check this link for your reference : https://docs.aws.amazon.com/step-functions/latest/dg/sfn-stuck-execution.html And here is the list of all other best practices for your reference : https://docs.aws.amazon.com/step-functions/latest/dg/sfn-best-practices.html

AWS
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