Skip to content

Commit

Permalink
Update gcp-restrict-machine-type.sentinel
Browse files Browse the repository at this point in the history
  • Loading branch information
kawsark authored Jan 21, 2020
1 parent 954574c commit 831c2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bonus_lab/gcp-restrict-machine-type.sentinel
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ validate_attribute_in_list = func(type, attribute, allowed_values) {
# Allowed GCP Machine Types
# You must use one of these machine types to be compliant.
allowed_types = [
"n1-standard-1"
"n1-standard-1",
"n1-standard-2",
]

Expand All @@ -97,4 +97,4 @@ machines_validated = validate_attribute_in_list("google_compute_instance",
# Main rule
main = rule {
machines_validated
}
}

0 comments on commit 831c2e1

Please sign in to comment.