1 Answer
- Newest
- Most votes
- Most comments
0
This might not be the full answer but this line doesn't look quite right:
{"Name": "tag", "Values": "AWSNetworkFirewallManaged"}
The documentation you linked says the syntax for this is
{"Name": "tag:some-tag-name", "Values": "some-tag-value"}
Or if you just want to match presence of a specific key without caring about its value, then
{"Name": "tag-key", "Values": "some-tag-name"}
Relevant content
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
So this would be the right syntax?
{"Name": "tag:Key", "Values": "AWSNetworkFirewallManaged"}
Is this only specific to the tags key?
If you just need to filter on the AWSNetworkFirewallManaged tag being present, then the right syntax is:
{"Name": "tag-key", "Values": "AWSNetworkFirewallManaged"}
If you need to filter on the AWSNetworkFirewallManaged tag having a specific value, e.g. AWSNetworkFirewallManaged=true, then the right syntax is:
{"Name": "tag:AWSNetworkFirewallManaged", "Values": "true"}