Setting ebs_options.ebs_enabled to false ignores the rest of EBS arguments for diff and/or validation.
Actual Behavior
Setting ebs_enabled to false produces a perpetual diff as it sets the other ebs arguments to zero values on apply:
At the same time, trying to set those arguments to the same zero values in the configuration to avoid the diff fails because the validation requires specific values:
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.9.6
AWS Provider Version
5.65.9
Affected Resource(s)
aws_opensearch_domain
Expected Behavior
Setting
ebs_options.ebs_enabled
tofalse
ignores the rest of EBS arguments for diff and/or validation.Actual Behavior
Setting ebs_enabled to false produces a perpetual diff as it sets the other ebs arguments to zero values on apply:
At the same time, trying to set those arguments to the same zero values in the configuration to avoid the diff fails because the validation requires specific values:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
0
or""
to values in config when the config did not changeDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None