Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
  • Loading branch information
arthurbdiniz committed Oct 29, 2021
1 parent 29a6996 commit 867f44f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "helm_release" "kubernetes_efs_csi_driver" {
}

set {
name = "node.serviceAccount.create"
name = "node.serviceAccount.create"
# We're using the same service account for both the nodes and controllers,
# and we're already creating the service account in the controller config
# above.
Expand Down
18 changes: 9 additions & 9 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ data "aws_iam_policy_document" "efs_csi_driver" {

statement {
actions = [
"elasticfilesystem:DescribeAccessPoints",
"elasticfilesystem:DescribeFileSystems"
"elasticfilesystem:DescribeAccessPoints",
"elasticfilesystem:DescribeFileSystems"
]
resources = ["*"]
effect = "Allow"
effect = "Allow"
}

statement {
actions = [
"elasticfilesystem:CreateAccessPoint"
]
resources = ["*"]
effect = "Allow"
effect = "Allow"
condition {
test = "StringLike"
test = "StringLike"
variable = "aws:RequestTag/efs.csi.aws.com/cluster"
values = ["true"]
values = ["true"]
}
}

Expand All @@ -28,11 +28,11 @@ data "aws_iam_policy_document" "efs_csi_driver" {
"elasticfilesystem:DeleteAccessPoint"
]
resources = ["*"]
effect = "Allow"
effect = "Allow"
condition {
test = "StringEquals"
test = "StringEquals"
variable = "aws:ResourceTag/efs.csi.aws.com/cluster"
values = ["true"]
values = ["true"]
}
}
}
Expand Down

0 comments on commit 867f44f

Please sign in to comment.