Skip to content

Commit

Permalink
Remove SID from ES access policy (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Oct 16, 2020
1 parent 608b67f commit f43c13c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ data "aws_iam_policy_document" "default" {
count = module.this.enabled && (length(var.iam_authorizing_role_arns) > 0 || length(var.iam_role_arns) > 0) ? 1 : 0

statement {
sid = "AllowEsAccessToSpecifiedRoles"
effect = "Allow"

actions = distinct(compact(var.iam_actions))
Expand All @@ -224,7 +223,6 @@ data "aws_iam_policy_document" "default" {
dynamic "statement" {
for_each = length(var.allowed_cidr_blocks) > 0 && ! var.vpc_enabled ? [true] : []
content {
sid = "AllowAnonymousEsAccessFromCIDR"
effect = "Allow"

actions = distinct(compact(var.iam_actions))
Expand Down

0 comments on commit f43c13c

Please sign in to comment.