aws-deployment-framework icon indicating copy to clipboard operation
aws-deployment-framework copied to clipboard

aws-deployment-framework-base-templates CodeBuild project timeout

Open Nr18 opened this issue 2 years ago • 2 comments

Description

We use a lot of regions and have a lot of accounts. When performing an upgrade you might not have enough time to perform all the necessary steps. For this reason we updated the timeout of the aws-deployment-framework-base-templates project from 40 to 240. But after an hour the temporary credentials expire and the project stops.

Workaround

Trigger the pipeline again by clicking the "Release" button.

Solution(s)

There are 2 solutions possible:

  • When the credentials almost expire they need to be renewed.
  • Replace the whole process with StepFunctions (preferred option as it also includes cost savings)

I know that there are some initiatives to move to StepFunctions already. This is just another reason why it's a good idea.

Nr18 avatar Jan 20 '22 16:01 Nr18

Maybe related to #371

AndreasAugustin avatar Feb 03 '22 09:02 AndreasAugustin

@AndreasAugustin not quite, I encountered the timeout on a CodeBuild project. #371 is about Lambda timeouts.

But you do raised a concern in ADF itself, there is no proper retry logic on timeouts.

Nr18 avatar Feb 03 '22 09:02 Nr18