Skip to content

Commit 67d18df

Browse files
tarik-arslanagic-gppoycycgoruha
authored
Add anonymous_auth_enabled option to OpenSearch advanced security options (#201)
Co-authored-by: yangci <[email protected]> Co-authored-by: Igor Rodionov <[email protected]>
1 parent cb34b31 commit 67d18df

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

opensearch_domain.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resource "aws_opensearch_domain" "default" {
1818
advanced_security_options {
1919
enabled = var.advanced_security_options_enabled
2020
internal_user_database_enabled = var.advanced_security_options_internal_user_database_enabled
21+
anonymous_auth_enabled = var.advanced_security_options_anonymous_auth_enabled
2122
master_user_options {
2223
master_user_arn = var.advanced_security_options_master_user_arn
2324
master_user_name = var.advanced_security_options_master_user_name

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,3 +463,9 @@ variable "auto_tune" {
463463
error_message = "Variable auto_tune.rollback_on_disable valid values: DEFAULT_ROLLBACK or NO_ROLLBACK."
464464
}
465465
}
466+
467+
variable "advanced_security_options_anonymous_auth_enabled" {
468+
type = bool
469+
default = false
470+
description = "Whether Anonymous auth is enabled. Enables fine-grained access control on an existing domain"
471+
}

0 commit comments

Comments
 (0)