Skip to content

Commit

Permalink
change target to 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Apr 3, 2023
1 parent f2077bc commit 137bdef
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import base64
import ast
import json
mwaa_env_name = 'veda-pipeline-sit-mwaa'
mwaa_env_name = 'veda-pipeline-staging-mwaa'
dag_name = 'veda_discover'
mwaa_cli_command = 'dags trigger'
client = boto3.client('mwaa')


def lambda_handler(event, context):
for record in event['Records']:
print(f"[ RECORD ]: {record}")
Expand Down Expand Up @@ -46,7 +47,7 @@ def lambda_handler(event, context):
mydata = ast.literal_eval(dict_str)
print(f"[ DATA ]: {mydata}")
print(f"[ STDOUT ]: {base64.b64decode(mydata['stdout'])}")
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}

0 comments on commit 137bdef

Please sign in to comment.