We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22e584 commit 6c3338cCopy full SHA for 6c3338c
terraform/modules/environment/iam.tf
@@ -1,7 +1,3 @@
1
-
2
-# Data sources for EKS IAM
3
-data "aws_caller_identity" "current" {}
4
5
# @TODO - sort out creating only a single user but multiple roles per env
6
7
# Create KubernetesAdmin role for aws-iam-authenticator
@@ -76,6 +72,7 @@ data "aws_iam_policy_document" "read_write_s3_policy" {
76
72
statement {
77
73
actions = [
78
74
"s3:*Object",
75
+ "s3:GetBucketLocation",
79
]
80
81
resources = formatlist("arn:aws:s3:::%s/*", var.s3_hosting_buckets)
0 commit comments