-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: DBTP-896 - invalid opensearch config #73
Conversation
@@ -44,7 +32,7 @@ run "test_create_opensearch" { | |||
} | |||
|
|||
assert { | |||
condition = aws_opensearch_domain.this.cluster_config[0].dedicated_master_type == null | |||
condition = aws_opensearch_domain.this.cluster_config[0].dedicated_master_type == "" |
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.
Even though it doesn't show in the terraform plan and it's an optional property dedicated_master_type
gets deployed as an empty string
} | ||
|
||
assert { | ||
condition = aws_opensearch_domain.this.ebs_options[0].throughput == 0 |
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.
Similar to dedicated_master_type
this property gets deployed as 0 rather than null
Make some OpenSearch properties conditional
availability_zone_count
should only be set ifzone_awareness_enabled
is truethroughput
is only a valid property for gp3 volumes