Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdlf-stage-glue] Glue Worker Type configurable through cfn parameter #481

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion sdlf-stage-glue/src/glue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Parameters:
Default: 10
MinValue: 2
MaxValue: 100
pGlueWorkerType:
Description: Worker type to use for the Glue job
Type: String
Default: G.1X
AllowedValues: [G.1X, G.2X, G.4X, G.8X, G.025X]
# the ideal would be to fetch ssm:/SDLF/VPC/Enabled and not ask the user to set this variable to true manually.
# however between AWS::SSM::Parameter::Value<String> not working in CloudFormation modules,
# Fn::ImportValue not being accepted in CloudFormation modules template fragments,
Expand Down Expand Up @@ -503,7 +508,7 @@ Resources:
lPostMetadata: !GetAtt rLambdaPostMetadataStep.Arn
lError: !GetAtt rLambdaErrorStep.Arn
lTransform: sdlf-legislators-glue-job
lWorkerType: "G.1X"
lWorkerType: !Ref pGlueWorkerType
lNumberOfWorkers: !Ref pGlueNumberOfWorkers
# lArguments:
lCrawlerName: "sdlf-legislators-stage-crawler"
Expand Down