Closed rianjp closed 7 months ago
Hi @rianjp , thanks for bringing this to our notice! I've added an item in our backlog to address this bug.
Hi @rianjp,
We've released AFT 1.11.0 which includes a patch for this bug. Please update to the latest version of AFT & retry.
@stumins Is there a workaround to get the "expired" pipelines working without the update? Thx.
Terraform Version & Prov: Terraform v1.2.6 AWS Provider v4.67.0 AFT Version: 1.10.4 (Can be found in the AFT Management Account in the SSM Parameter
/aft/config/aft/version
)Terraform Version & Provider Versions Please provide the outputs of
terraform version
andterraform providers
from within your AFT environmentterraform version
terraform providers
Bug Description aft-customizations-execute-pipeline produces a traceback when the aft-invoke-customizations step function is ran to invoke customizations on an account that hasn't has its customization pipeline ran for >1 year. This causes the step function to fail its execution.
To Reproduce Steps to reproduce the behavior:
"EXCEPTION": "list index out of range"
for the lambda handler and the traceback points to line 58 of pipeline is running.Expected behavior Handling of no results being returned for the
startTime
when assigning thelast_execution
variable for the currentpipelineExecutionSummaries
due to the pipeline not having ran in the last year. This expected behaviour has already been implemented in the same file here but appears to be missinng from the function causing the current error.Related Logs JSON formatted log message from lambda function logs
Traceback from lambda function logs
Additional context None