aws_opensearch_domain requires tls_security_policy incorrectly when domain_endpoint_options block is given #25389
Labels
bug
Addresses a defect in current functionality.
service/opensearch
Issues and PRs that pertain to the opensearch service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
aws_opensearch_domain
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
The [
tls_security_policy
setting is listed as optional] and shouldn't be required when passing it's parent block. It should just default to what the AWS service sets when not given.Actual Behavior
Passing it's parent block looks to require the policy suggesting that the block is passing an empty value instead of a null incorrectly.
Steps to Reproduce
aws_opensearch_domain
as normal with adomain_endpoint_options
block specific that doesn't include the optionaltls_security_policy
setting.terraform apply
The text was updated successfully, but these errors were encountered: