Skip to content

Commit d8f37ee

Browse files
committed
NRL-1411 update iam role to allow logging, increase number of workers for performance
1 parent 5fd0284 commit d8f37ee

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

terraform/account-wide-infrastructure/modules/glue/glue.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ resource "aws_glue_job" "glue_job" {
6868
worker_type = "G.1X"
6969
timeout = 2880
7070
max_retries = 0
71-
number_of_workers = 2
71+
number_of_workers = 4
7272
command {
7373
name = "glueetl"
7474
python_version = var.python_version

terraform/account-wide-infrastructure/modules/glue/iam.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ data "aws_iam_policy_document" "glue_service" {
8181
effect = "Allow"
8282
}
8383

84+
statement {
85+
actions = [
86+
"cloudwatch:*",
87+
]
88+
resources = [
89+
"*"
90+
]
91+
effect = "Allow"
92+
}
93+
8494
statement {
8595
actions = [
8696
"iam:PassRole",

0 commit comments

Comments
 (0)