Skip to content

Commit

Permalink
retrieve glue security config using ssm
Browse files Browse the repository at this point in the history
  • Loading branch information
cnfait committed Mar 26, 2024
1 parent 641e9e6 commit 22b64fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdlf-dataset/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Resources:
Type: AWS::Glue::Crawler
Properties:
Role: !Sub "{{resolve:ssm:/SDLF/IAM/${pTeamName}/CrawlerRoleArn}}"
CrawlerSecurityConfiguration: !Sub sdlf-${pTeamName}-glue-security-config
CrawlerSecurityConfiguration: !Sub "{{resolve:ssm:/SDLF2/Glue/${pTeamName}/SecurityConfigurationId}}"
DatabaseName: !Ref rGlueDataCatalog
Name: !Sub sdlf-${pTeamName}-${pDatasetName}-post-stage-crawler
Targets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ Resources:
MaxCapacity: 2.0
GlueVersion: "4.0"
Name: !Sub sdlf-${pTeamName}-${pDatasetName}-glue-job
SecurityConfiguration: !Sub sdlf-${pTeamName}-glue-security-config
SecurityConfiguration: !Sub "{{resolve:ssm:/SDLF2/Glue/${pTeamName}/SecurityConfigurationId:1}}"
Role: !Ref rGlueRole

0 comments on commit 22b64fe

Please sign in to comment.