Skip to content

Commit

Permalink
Lower case labels required.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Carolan committed Jan 19, 2020
1 parent 05473b1 commit 954574c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gcp/enforce-mandatory-labels.sentinel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This policy uses the Sentinel tfplan import to require that all GCP compute
# instances have all mandatory tags.
# instances have all mandatory labels.

# Note that the comparison is case-sensitive but also that Google network tags
# Note that the comparison is case-sensitive but also that GCP labels
# are only allowed to contain lowercase letters, numbers, and dashes.

##### Imports #####
Expand Down Expand Up @@ -104,8 +104,8 @@ validate_attribute_contains_list = func(type, attribute, required_values) {

### List of mandatory labels ###
mandatory_labels = [
"Department",
"Billable",
"department",
"billable",
]

### Rules ###
Expand Down

0 comments on commit 954574c

Please sign in to comment.