Skip to content

Commit

Permalink
Temporarily comment out SNS triggers to identify other permissions ne…
Browse files Browse the repository at this point in the history
…eded
  • Loading branch information
chuckwondo committed Nov 7, 2023
1 parent 51a7fa4 commit 0d04f19
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions stack/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,28 +760,28 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
self, "LandsatHistoricSNSTopic", topic_arn=LANDSAT_HISTORIC_SNS_TOPIC
)

self.landsat_step_function_trigger = StepFunctionTrigger(
self,
"LandsatStepFunctionTrigger",
state_machine=self.landsat_step_function.state_machine.ref,
code_file="execute_landsat_step_function.py",
timeout=180,
input_sns=self.landsat_sns_topic,
layers=[self.hls_lambda_layer],
)

self.landsat_step_function_historic_trigger = StepFunctionTrigger(
self,
"LandsatStepFunctionHistoricTrigger",
state_machine=self.landsat_step_function_historic.state_machine.ref,
code_file="execute_landsat_step_function.py",
timeout=180,
input_sns=self.landsat_historic_sns_topic,
layers=[self.hls_lambda_layer],
env_vars={
"HISTORIC": "historic",
},
)
# self.landsat_step_function_trigger = StepFunctionTrigger(
# self,
# "LandsatStepFunctionTrigger",
# state_machine=self.landsat_step_function.state_machine.ref,
# code_file="execute_landsat_step_function.py",
# timeout=180,
# input_sns=self.landsat_sns_topic,
# layers=[self.hls_lambda_layer],
# )

# self.landsat_step_function_historic_trigger = StepFunctionTrigger(
# self,
# "LandsatStepFunctionHistoricTrigger",
# state_machine=self.landsat_step_function_historic.state_machine.ref,
# code_file="execute_landsat_step_function.py",
# timeout=180,
# input_sns=self.landsat_historic_sns_topic,
# layers=[self.hls_lambda_layer],
# env_vars={
# "HISTORIC": "historic",
# },
# )

self.landsat_incomplete_step_function_trigger = StepFunctionTrigger(
self,
Expand Down

0 comments on commit 0d04f19

Please sign in to comment.