Replies: 3 comments
-
I tripped on this one today with the "#" character. I'd be happy to put some effort into a merge request. Do the maintainers have some general direction on how this should be done? |
Beta Was this translation helpful? Give feedback.
-
Hey, working on making tags rules easier to write. The existing tags rule (missing_tags) is in pretty rough shape. terraform-linters/tflint#803 should lay the ground work. It adds a https://github.com/terraform-linters/tflint/blob/master/rules/awsrules/aws_resource_missing_tags.go I can see this being a |
Beta Was this translation helpful? Give feedback.
-
Yes, I think static validation should ideally be included in providers.
I think providers should be able to solve this kind of problem in the future, but until then TFLint doesn't seem to be a bad idea to tackle this problem. So I'm positive about implementing this kind of rule. |
Beta Was this translation helpful? Give feedback.
-
There's a formatting specification for Tag Keys and Values. One issue with applying some changes is that you are disallowed from using certain characters (notably the
,
) in a Tag Value, and this is not being caught bytflint
currently.https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#w2ab1c25c10d254c13c17
Beta Was this translation helpful? Give feedback.
All reactions