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

adding AWS Glue Job actions to test policies #95

Closed
wants to merge 10 commits into from
8 changes: 8 additions & 0 deletions aws/policy/application-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ Statement:
- elasticfilesystem:DeleteMountTarget
- kinesis:CreateStream
- kinesis:DeleteStream
- glue:CreateJob
- glue:DeleteJob
- glue:UpdateJob
- glue:GetJob
- glue:GetTags
- glue:TagResource
- glue:UntagResource
Resource:
- arn:aws:ssm:us-east-1:{{ aws_account_id }}:parameter/*
- arn:aws:codebuild:us-east-1:{{ aws_account_id }}:*
Expand All @@ -145,6 +152,7 @@ Statement:
- arn:aws:elasticfilesystem:us-east-1:{{ aws_account_id }}:file-system/*
- arn:aws:states:us-east-1:{{ aws_account_id }}:*
- arn:aws:kinesis:us-east-1:{{ aws_account_id }}:stream/*
- arn:aws:glue:us-east-1:{{ aws_account_id }}:job/*
- Sid: ModifyCloudwatchLogs
Effect: Allow
Action:
Expand Down
14 changes: 14 additions & 0 deletions hacking/aws_config/testing_policies/compute-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,19 @@
],
"Resource": "arn:aws:sqs:*:*:*"
},
{
"Sid": "AllowGlue",
"Effect": "Allow",
"Action": [
"glue:CreateJob",
"glue:UpdateJob",
"glue:DeleteJob",
"glue:GetJob",
"glue:GetTags",
"glue:TagResource",
"glue:UntagResource"
],
"Resource": "arn:aws:glue:*:*:*"
}
]
}