Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Last active February 9, 2016 01:45
Show Gist options
  • Save sjwaight/aa99c9fc5787fffd33a8 to your computer and use it in GitHub Desktop.
Save sjwaight/aa99c9fc5787fffd33a8 to your computer and use it in GitHub Desktop.
Shows how you can enforce use of tags on new resources
"if": {
"not": {
"anyOf": [
{
"field": "tags",
"containsKey": "CostCentre"
},
{
"field": "tags",
"containsKey": "Environment"
}
]
}
},
"then": {
"effect": "deny"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment