Skip to content

Commit 6c3338c

Browse files
committed
Fix duplicated resource
1 parent e22e584 commit 6c3338c

File tree

1 file changed

+1
-4
lines changed
  • terraform/modules/environment

1 file changed

+1
-4
lines changed

terraform/modules/environment/iam.tf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
# Data sources for EKS IAM
3-
data "aws_caller_identity" "current" {}
4-
51
# @TODO - sort out creating only a single user but multiple roles per env
62

73
# Create KubernetesAdmin role for aws-iam-authenticator
@@ -76,6 +72,7 @@ data "aws_iam_policy_document" "read_write_s3_policy" {
7672
statement {
7773
actions = [
7874
"s3:*Object",
75+
"s3:GetBucketLocation",
7976
]
8077

8178
resources = formatlist("arn:aws:s3:::%s/*", var.s3_hosting_buckets)

0 commit comments

Comments
 (0)