Skip to content

Commit

Permalink
Add security groups to vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Brulet committed Jul 8, 2021
1 parent a216b27 commit 57644e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ resource "aws_elasticsearch_domain" "default" {
for_each = var.vpc_enabled ? [true] : []

content {
security_group_ids = [join("", aws_security_group.default.*.id)]
security_group_ids = [join("", aws_security_group.default.*.id), join("", var.security_groups)]
subnet_ids = var.subnet_ids
}
}
Expand Down

0 comments on commit 57644e7

Please sign in to comment.