Skip to content

Commit 1e33b5f

Browse files
committed
fix: Fixed hcl2json call in update_groups.sh
1 parent 6f18954 commit 1e33b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_groups.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ check_dependencies() {
3030
}
3131

3232
auto_groups_data() {
33-
hcl2json rules.tf | jq -r '..|.auto_groups?|values|.default'
33+
hcl2json rules.tf | jq -r '..|.auto_groups?|values|.[0].default'
3434
}
3535

3636
auto_groups_keys() {

0 commit comments

Comments
 (0)