HCL treats empty string and null interchangeably so embedded blocks with just empty strings as values will fail on interface conversions. While at it, we can add validations everywhere an empty string would not make sense.
Type of change
[x] Bug fix (non-breaking change that fixes an issue)
Related issues
Fixes #340
Checklists
Development
[x] Lint rules pass locally
[x] The code changed/added as part of this pull request has been covered with tests
[x] All tests related to the changed code pass in development
[x] Examples for new resources and data sources have been added
[x] Default values have been documented in the description (e.g., "Dummy: (Boolean) Blah blah. Defaults to false.)
[x] tfplugindocs has been run to make sure the docs are up to date
Code review
[x] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[x] Pull Request is no longer marked as "draft"
[x] Reviewers have been assigned
[ ] Changes have been reviewed by at least one other engineer
[x] The target branch is future unless the change is going directly into production
Description of the change
HCL treats empty string and null interchangeably so embedded blocks with just empty strings as values will fail on interface conversions. While at it, we can add validations everywhere an empty string would not make sense.
Type of change
Related issues
Fixes #340
Checklists
Development
false
.)tfplugindocs
has been run to make sure the docs are up to dateCode review
future
unless the change is going directly into production