Skip to content

Commit

Permalink
Merge pull request #278 from NASA-IMPACT/debug_bucket_option
Browse files Browse the repository at this point in the history
Include nested iterator state keys.
  • Loading branch information
sharkinsspatial authored May 7, 2024
2 parents f31edb5 + 3100333 commit a76ef90
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions stack/hlsconstructs/sentinel_errors_step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ def __init__(
}

if debug_bucket:
state_definition["States"]["ProcessErrors"]["Parameters"][
"ContainerOverrides"
]["Environment"].append({"Name": "DEBUG_BUCKET", "Value": debug_bucket})
state_definition["States"]["ProcessErrors"]["Iterator"]["States"][
"ProcessSentinel"
]["Parameters"]["ContainerOverrides"]["Environment"].append(
{"Name": "DEBUG_BUCKET", "Value": debug_bucket}
)
self.state_machine = aws_stepfunctions.CfnStateMachine(
self,
"SentineErrorsStateMachine",
Expand Down

0 comments on commit a76ef90

Please sign in to comment.