Skip to content

Commit

Permalink
change config
Browse files Browse the repository at this point in the history
  • Loading branch information
adnahassan committed Jan 10, 2025
1 parent 54bd691 commit bb07be2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/handlers/trigger-txma-crawler/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const handler = async (): Promise<unknown> => {
});
const updateCrawlerCommand = new UpdateCrawlerCommand({
Name: 'txma_raw_layer_test',
DatabaseName: 'dev-txma-raw',
TablePrefix: 'txma',
Targets: {
S3Targets: paths.map(path => ({
Path: path,
Expand All @@ -23,16 +25,11 @@ export const handler = async (): Promise<unknown> => {
Partitions: {
AddOrUpdateBehavior: 'InheritFromTable',
},
TableLevelConfiguration: [
{
DatabaseName: 'dev-txma-raw',
TableName: 'txma-poc',
Path: 's3://dev-txma-raw/txma/',
},
],
},
}),
TablePrefix: '',
RecrawlPolicy: {
RecrawlBehavior: 'CRAWL_EVERYTHING',
}

Check failure on line 32 in src/handlers/trigger-txma-crawler/handler.ts

View workflow job for this annotation

GitHub Actions / test-and-validate

Insert `,`
});
try {
const response = await glueClient.send(updateCrawlerCommand);
Expand Down

0 comments on commit bb07be2

Please sign in to comment.