From c8f84c6a010f0b5c11a3df59f3ee47f2bd8052bd Mon Sep 17 00:00:00 2001 From: Clark Schneider Date: Fri, 29 Apr 2022 16:42:17 +0000 Subject: [PATCH] Issue #3 working new metadata strategy - inner sfn does not GetMetadata --- stacks/control_broker_stack.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/stacks/control_broker_stack.py b/stacks/control_broker_stack.py index 7bf06004..1c3ce4dd 100644 --- a/stacks/control_broker_stack.py +++ b/stacks/control_broker_stack.py @@ -434,7 +434,6 @@ def deploy_inner_sfn(self): "States": { "ParseInput": { "Type": "Pass", - # "Next": "GetMetadata", "Next": "OpaEval", "Parameters": { "JsonInput": { @@ -446,21 +445,6 @@ def deploy_inner_sfn(self): }, "ResultPath": "$", }, - # "GetMetadata": { - # "Type": "Task", - # "Next": "OpaEval", - # "ResultPath": "$.GetMetadata", - # "Resource": "arn:aws:states:::lambda:invoke", - # "Parameters": { - # "FunctionName": self.lambda_s3_select.function_name, - # "Payload": { - # "Bucket": self.bucket_pipeline_ownership_metadata.bucket_name, - # "Key": self.pipeline_ownership_metadata["Suffix"], - # "Expression": "SELECT * from S3Object s", - # }, - # }, - # "ResultSelector": {"Metadata.$": "$.Payload.Selected"}, - # }, "OpaEval": { "Type": "Task", "Next": "GatherInfractions",