Skip to content

Commit

Permalink
Update glue_iceberg_register_table.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ev2900 authored Oct 9, 2024
1 parent 28b3e33 commit 7d8575b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions glue_iceberg_register_table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d8575b

Please sign in to comment.