diff --git a/format/order.go b/format/order.go index 7eb9dc27..fc17a5ec 100644 --- a/format/order.go +++ b/format/order.go @@ -57,7 +57,7 @@ func ordering(path []interface{}) []string { "NotResource", "Condition", } - case len(path) > 2 && path[0] == "Resources" && path[1] == "Properties": + case len(path) > 3 && path[0] == "Resources" && path[2] == "Properties": return []string{ "Name", "Description",