Skip to content

Commit f43c13c

Browse files
authored
Remove SID from ES access policy (#76)
1 parent 608b67f commit f43c13c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ data "aws_iam_policy_document" "default" {
202202
count = module.this.enabled && (length(var.iam_authorizing_role_arns) > 0 || length(var.iam_role_arns) > 0) ? 1 : 0
203203

204204
statement {
205-
sid = "AllowEsAccessToSpecifiedRoles"
206205
effect = "Allow"
207206

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

230228
actions = distinct(compact(var.iam_actions))

0 commit comments

Comments
 (0)