Closed sdrzazga-nsd closed 2 days ago
Hey @sdrzazga-nsd 👋 Thank you for taking the time to raise this! These seem like very useful functions to add to the assert provider. Allow me to get back to you soon.
To break down the work proposed in this issue, it makes sense to start with empty
and not_empty
functions, as they would nicely complement the existing null
and not_null
functions for objects.
Reopening this issue, because of the blank
and not_blank
functions that have not been discussed yet.
We've released empty
and not_empty
as part of v0.13.0 of the Terraform Assert Provider.
Hi.
Please consider to add the following string functions:
string == null || length(string) == 0
!empty(string)
string == null || IsWhitespaceOnly(string)
!blank(string)
Thank you.