Skip to content

Commit

Permalink
Use intended variable for iam policy rather than having it hardcoded (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SEQUOIIA authored Feb 22, 2022
1 parent 729d41e commit 80687f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _sub/compute/k8s-blaster-namespace/dependencies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data "aws_iam_policy_document" "k8s_janitor" {
"s3:PutObjectTagging"
]

resources = ["arn:aws:s3:::dfds-oxygen-k8s-hellman/*"]
resources = ["arn:aws:s3:::${var.blaster_configmap_bucket}/*"]
}

statement {
Expand All @@ -39,7 +39,7 @@ data "aws_iam_policy_document" "k8s_janitor" {
"s3:ListBucket"
]

resources = ["arn:aws:s3:::dfds-oxygen-k8s-hellman"]
resources = ["arn:aws:s3:::${var.blaster_configmap_bucket}"]
}
}

Expand Down

0 comments on commit 80687f1

Please sign in to comment.