-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to apply security groups to domain #134
Conversation
@@ -167,7 +167,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 = var.create_security_group ? [join("", aws_security_group.default.*.id)] : var.security_groups |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure AWS Elasticsearch has node-to-node encryption enabled
Resource: module.elasticsearch.aws_elasticsearch_domain.default | ID: BC_AWS_ELASTICSEARCH_5
Description
The AWS Elasticsearch Service makes it possible to host sensitive workloads with node-to-node encryption by using Transport Layer Security (TLS) for all communications between instances in a cluster.Using node-to-node encryption ensures that any data you send to your Amazon Elasticsearch Service domain over HTTPS, remains encrypted in-flight while it is being distributed and replicated between the nodes.
Benchmarks
- PCI-DSS V3.2 3
- FEDRAMP (MODERATE) SC-7, SC-8, SC-8(1)
🎉 Fixed by commit e468d88 - Auto Format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change details
-
Error ID Change Path Resource BC_AWS_ELASTICSEARCH_5 Fixed /main.tf module.elasticsearch.aws_elasticsearch_domain.default
/test all |
/test all |
@bgottlob LGTM |
what
var.create_security_group
tofalse
var.security_groups
why
var.security_groups
to be a list of security groups to be directly attached to the ElasticSearch domainreferences