1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
Hello,
I tried deploying your template and faced the same error. Then after checking the syntax for the DeltaTargets
Property, I noticed there's an extra '-' (hyphen) in the template, which isn't needed.
Below is the corrected template.
Resources:
Crawl:
Type: AWS::Glue::Crawler
Properties:
Name: crawler_name
DatabaseName: database_name
Role: role_arn
Targets:
DeltaTargets:
- DeltaTables:
- S3_path_for_delta_table_folder (having deltalogs as child inside)
WriteManifest: True
DeltaTables
and WriteManifest
both are part of one DeltaTarget[1]. Hence we need to add '-' only on DeltaTables
and not on WriteManifest
. I tried the above template and it worked.
Hope this helps.
References: [1]https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-deltatarget.html
Thank you for solution this worked
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Are you sure the path is correct and available at the time of creation?, maybe check the crawler logs for more info