-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/opensearchIssues and PRs that pertain to the opensearch service.Issues and PRs that pertain to the opensearch service.
Description
Description
The ability to configure dedicated coordinator nodes has been added in the recent versions. However, it is not optimal to use a nested block for it, because when using Terraform to turn off dedicated coordinator nodes, it requires two steps:
- Set
aws_opensearch_domain.node_options.node_config.enabled
tofalse
-> We need to apply this first so the toggle is off in AWS Console. - Remove the
node_options
block -> Otherwise there is drift in the next Terraform plan+ node_options { ... {node_config { enabled = false } } }
If we remove the node_options
block in the first place, the provider does not disable dedicated coordinator nodes. Also, we already model dedicated master nodes as regular fields, and so this new option set is better if it follows the same convention.
Affected Resource(s) or Data Source(s)
aws_opensearch_domain
Potential Terraform Configuration
resource "aws_opensearch_domain" "my_domain" {
...
dedicated_coordinator_enabled = true
dedicated_coordinator_count = 3
dedicated_coordinator_type = "..."
}
References
No response
Would you like to implement the enhancement?
No
pflaquerre-figma, rafael-gumiero, Saniol and ET-Torsten
Metadata
Metadata
Assignees
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/opensearchIssues and PRs that pertain to the opensearch service.Issues and PRs that pertain to the opensearch service.