terraform-aws-control_tower_account_factory icon indicating copy to clipboard operation
terraform-aws-control_tower_account_factory copied to clipboard

aft-customizations-get-pipeline-executions's list index out of range

Open jakeawedevops opened this issue 1 year ago • 3 comments

When I tried to invoke "aft-invoke-customizations" step function, the lambda function "aft-customizations-get-pipeline-executions" produces an error "list index out of range". Here's the full trace: { "cause": { "errorMessage": "list index out of range", "errorType": "IndexError", "stackTrace": [ " File "/var/task/aft_customizations_get_pipeline_executions.py", line 24, in lambda_handler\n running_pipelines = get_running_pipeline_count(session, pipelines)\n", " File "/opt/python/lib/python3.8/site-packages/aft_common/customizations.py", line 125, in get_running_pipeline_count\n latest_execution = sorted(\n" ] }, "error": "IndexError" }

jakeawedevops avatar Feb 14 '24 11:02 jakeawedevops

Hi, @jakeawedevops , would you be able to update the description with the bug/issue template here?

Sanjan611 avatar Feb 14 '24 18:02 Sanjan611

+1 also seeing this issue

SheardJ avatar Mar 07 '24 09:03 SheardJ

Hey @SheardJ!

Can you provide the following information?

Terraform Version & Prov:

AFT Version: (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 and terraform providers from within your AFT environment

terraform version

{Replace me}

terraform providers

{Replace me}

Bug Description A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Related Logs Provide any related logs or error messages to help explain your problem.

Additional context Add any other context about the problem here.

hanafya avatar Mar 08 '24 23:03 hanafya