We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--hook-config
1 parent cf6f19a commit eea6c00Copy full SHA for eea6c00
1 file changed
hooks/terraform_validate.sh
@@ -36,6 +36,7 @@ function main {
36
# global variables with appropriate values
37
# Globals (init and populate):
38
# ARGS (array) arguments that configure wrapped tool behavior
39
+# HOOK_CONFIG (array) arguments that configure hook behavior
40
# INIT_ARGS (array) arguments to `terraform init` command
41
# ENVS (array) environment variables that will be used with
42
# `terraform` commands
@@ -56,6 +57,11 @@ function parse_cmdline_ {
56
57
ARGS+=("$1")
58
shift
59
;;
60
+ -h | --hook-config)
61
+ shift
62
+ HOOK_CONFIG+=("$1;")
63
64
+ ;;
65
-i | --init-args)
66
67
INIT_ARGS+=("$1")
0 commit comments