Expressions do not support single-quote matching. For example, `tags(Name) = 'AutomationTest || tags(Name) = 'invalid')` is considered a valid expression and `'AutomationTest || tags(Name) = 'invalid'` is considered the value. Ensure that quotes are matched before saving the expression.
Apostrophes
Expressions do not support the use of apostrophes (') in values. In the expression`tags(Name) = 'Automation'sTest'`, the tag value is considered `'Automation'` and the rest of the value is ignored.
Valid. A apostrophe (') is missing after cloudcollectors. The tag value continues until the next apostrophe ('). In this example, the tag value is 'cloudcollectors && tags(location) = '.
Valid. Everything after cloudcollectors is disregarded. The expression effectively becomes tags(Name) = 'cloudcollectors'.
Amazon Web Services, the AWS logo, AWS, and any other AWS Marks used in these materials are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.