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)