You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hooks/terraform_providers_lock.sh
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -138,8 +138,7 @@ function per_dir_hook_unique_part {
138
138
139
139
only-check-is-current-lockfile-cross-platform)
140
140
common::colorify "yellow""DEPRECATION NOTICE: Flag '--mode=only-check-is-current-lockfile-cross-platform' was renamed to '--mode=regenerate-lockfile-if-some-platform-missed' to better reflect its behavior.
@@ -176,8 +174,7 @@ Check migration instructions at https://github.com/antonbabenko/pre-commit-terra
176
174
fi
177
175
178
176
common::colorify "red""$dir_path/.terraform.lock.hcl missing some of required platforms.
179
-
All required platforms: ${platforms_names[*]}
180
-
"
177
+
All required platforms: ${platforms_names[*]}"
181
178
182
179
exit 1
183
180
;;
@@ -187,8 +184,7 @@ All required platforms: ${platforms_names[*]}
187
184
fi
188
185
189
186
common::colorify "yellow""$dir_path/.terraform.lock.hcl missing some of required platforms.
190
-
All required platforms: ${platforms_names[*]}
191
-
"
187
+
All required platforms: ${platforms_names[*]}"
192
188
193
189
;;
194
190
esac
@@ -201,8 +197,7 @@ All required platforms: ${platforms_names[*]}
201
197
exit_code=$?
202
198
if [[ $exit_code-ne 0 ]];then
203
199
common::colorify "red""$dir_path run failed. Detailed error above.
204
-
Most common issue is that required 'terraform init' command was likely not run before running this hook. It might be run for you automatically by 'terraform_validate' hook - see https://github.com/antonbabenko/pre-commit-terraform#terraform_validate for more details.
205
-
"
200
+
Most common issue is that required 'terraform init' command was likely not run before running this hook. It might be run for you automatically by 'terraform_validate' hook - see https://github.com/antonbabenko/pre-commit-terraform#terraform_validate for more details."
0 commit comments