From 0d04f19de9b61766d102c6a2a0fd0a57df315c54 Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Mon, 6 Nov 2023 21:04:21 -0500 Subject: [PATCH] Temporarily comment out SNS triggers to identify other permissions needed --- stack/stack.py | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/stack/stack.py b/stack/stack.py index 561ef2b..f077473 100644 --- a/stack/stack.py +++ b/stack/stack.py @@ -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,