Open ch-e-mistry opened 1 year ago
Just a comment: If the tagging rule itself is case sensitive I think, this issue can be eliminated, see:
Examples:
| tags | value |
| Project | .+ |
| Environment | ^(development\|test\|uat\|production\|management)$ |
Also I noticed the same issue with step functions in AWS.
Description
latest (and older like 1.4.32 as well) version of terraform compliance has an issue? Not sure, as it is more related to the testing (bdd) method I think.
The issue:
The related tf code snippet:
I think, my tagging feature check everything, which has "environment" property. Like this lambda function. While the lambda function itself has the necessary tags, thanks to the following snippet:
I attached the plan jsonfile, created by
/code # gitlab-terraform show -json plan.cache > plan.compliance.json
versions:
Workaround
I changed the feature as:
But It will exclude all lambda function.
Please let me know, if you have a better solution / any way, how to solve this issue.
Thank you and Best Regards,