From 7d8575baa8e59ab972ebad93d778a9a4e654b48c Mon Sep 17 00:00:00 2001 From: Christopher Sharkey Date: Wed, 9 Oct 2024 10:42:56 -0600 Subject: [PATCH] Update glue_iceberg_register_table.yaml --- glue_iceberg_register_table.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/glue_iceberg_register_table.yaml b/glue_iceberg_register_table.yaml index 9affaaf..64c6496 100644 --- a/glue_iceberg_register_table.yaml +++ b/glue_iceberg_register_table.yaml @@ -87,6 +87,13 @@ Resources: s3.copy_object(CopySource = copy_source, Bucket = os.environ['S3_BUCKET_NAME'], Key = 'scripts/0_create_iceberg_table.py') + copy_source = { + 'Bucket': 'sharkech-public', + 'Key': 'misc-public/1_register_table.py' + } + + s3.copy_object(CopySource = copy_source, Bucket = os.environ['S3_BUCKET_NAME'], Key = 'scripts/1_register_table.py') + # Return success status to cloudformation responseData = {'Status': 'SUCCESS', 'StackId': event['StackId'], 'RequestId': event['RequestId'], 'LogicalResourceId': event['LogicalResourceId'], 'PhysicalResourceId': ''} cfnresponse.send(event, context, cfnresponse.SUCCESS, responseData)