Skip to content

Commit 264f622

Browse files
author
Bob Strahan
committed
Simplify Glue crawler security configuration by removing unnecessary encryption settings
1 parent 95a2f6a commit 264f622

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

template.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,20 +1581,14 @@ Resources:
15811581
- Name: date
15821582
Type: string
15831583

1584-
DocumentSectionsCrawlerSecurityConfiguration:
1584+
DocumentSectionsCrawlerSecurityConfigurationV2:
15851585
Type: AWS::Glue::SecurityConfiguration
15861586
Properties:
1587-
Name: !Sub "${AWS::StackName}-document-sections-crawler-security-config"
1587+
Name: !Sub "${AWS::StackName}-document-sections-crawler-security-config-v2"
15881588
EncryptionConfiguration:
15891589
S3Encryptions:
15901590
- S3EncryptionMode: SSE-KMS
15911591
KmsKeyArn: !GetAtt CustomerManagedEncryptionKey.Arn
1592-
CloudWatchEncryption:
1593-
CloudWatchEncryptionMode: SSE-KMS
1594-
KmsKeyArn: !GetAtt CustomerManagedEncryptionKey.Arn
1595-
JobBookmarksEncryption:
1596-
JobBookmarksEncryptionMode: CSE-KMS
1597-
KmsKeyArn: !GetAtt CustomerManagedEncryptionKey.Arn
15981592

15991593
DocumentSectionsCrawler:
16001594
Type: AWS::Glue::Crawler
@@ -1603,7 +1597,7 @@ Resources:
16031597
Description: "Crawler to discover document section tables in the reporting bucket with conservative schema handling"
16041598
Role: !GetAtt DocumentSectionsCrawlerRole.Arn
16051599
DatabaseName: !Ref ReportingDatabase
1606-
CrawlerSecurityConfiguration: !Ref DocumentSectionsCrawlerSecurityConfiguration
1600+
CrawlerSecurityConfiguration: !Ref DocumentSectionsCrawlerSecurityConfigurationV2
16071601
Targets:
16081602
S3Targets:
16091603
- Path: !Sub

0 commit comments

Comments
 (0)