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
* build ARM images
* Fix GH API rate limits
* `docker buildx` currently does not support `load` and multi-arch at the same time.
And used Github Action does not support output=type=oci
---------
Co-authored-by: Maksym Vlasov <[email protected]>
Co-authored-by: George L. Yermulnik <[email protected]>
We highly recommend using [WSL/WSL2](https://docs.microsoft.com/en-us/windows/wsl/install) with Ubuntu and following the Ubuntu installation guide. Or use Docker.
186
189
187
-
> Note: We won't be able to help with issues that can't be reproduced in Linux/Mac.
190
+
> **Note**: We won't be able to help with issues that can't be reproduced in Linux/Mac.
188
191
> So, try to find a working solution and send PR before open an issue.
189
192
190
193
Otherwise, you can follow [this gist](https://gist.github.com/etiennejeanneaurevolve/1ed387dc73c5d4cb53ab313049587d09):
@@ -204,7 +207,7 @@ E.g. `C:\Users\USERNAME\AppData\Local\Programs\Python\Python39\Lib\site-packages
204
207
205
208
### 2. Install the pre-commit hook globally
206
209
207
-
> Note: not needed if you use the Docker image
210
+
> **Note**: not needed if you use the Docker image
208
211
209
212
```bash
210
213
DIR=~/.git-template
@@ -238,7 +241,7 @@ pre-commit run -a
238
241
239
242
Or, using Docker ([available tags](https://github.com/antonbabenko/pre-commit-terraform/pkgs/container/pre-commit-terraform/versions)):
240
243
241
-
> Note: This command uses your user id and group id for the docker container to use to access the local files. If the files are owned by another user, update the `USERID` environment variable. See [File Permissions section](#docker-usage-file-permissions) for more information.
244
+
> **Note**: This command uses your user id and group id for the docker container to use to access the local files. If the files are owned by another user, update the `USERID` environment variable. See [File Permissions section](#docker-usage-file-permissions) for more information.
242
245
243
246
```bash
244
247
TAG=latest
@@ -686,7 +689,7 @@ To replicate functionality in `terraform_docs` hook:
686
689
- --hook-config=--retry-once-with-cleanup=true # Boolean. true or false
687
690
```
688
691
689
-
> Note: The flag requires additional dependency to be installed: `jq`.
692
+
> **Note**: The flag requires additional dependency to be installed: `jq`.
690
693
691
694
If `--retry-once-with-cleanup=true`, then in each failed directory the cached modules and providers from the `.terraform` directory will be deleted, before retrying once more. To avoid unnecessary deletion of this directory, the cleanup and retry will only happen if Terraform produces any of the following error messages:
692
695
@@ -696,7 +699,7 @@ To replicate functionality in `terraform_docs` hook:
696
699
* "Module not installed"
697
700
* "Could not load plugin"
698
701
699
-
**Warning:** When using `--retry-once-with-cleanup=true`, problematic `.terraform/modules/` and `.terraform/providers/` directories will be recursively deleted without prompting for consent. Other files and directories will not be affected, such as the `.terraform/environment` file.
702
+
**Warning**: When using `--retry-once-with-cleanup=true`, problematic `.terraform/modules/` and `.terraform/providers/` directories will be recursively deleted without prompting for consent. Other files and directories will not be affected, such as the `.terraform/environment` file.
700
703
701
704
**Option 2**
702
705
@@ -714,7 +717,7 @@ To replicate functionality in `terraform_docs` hook:
714
717
715
718
`terraform_validate`hook will try to reinitialize them before running the `terraform validate` command.
716
719
717
-
**Warning:** If you use Terraform workspaces, DO NOT use this option ([details](https://github.com/antonbabenko/pre-commit-terraform/issues/203#issuecomment-918791847)). Consider the first option, or wait for [`force-init`](https://github.com/antonbabenko/pre-commit-terraform/issues/224) option implementation.
720
+
**Warning**: If you use Terraform workspaces, DO NOT use this option ([details](https://github.com/antonbabenko/pre-commit-terraform/issues/203#issuecomment-918791847)). Consider the first option, or wait for [`force-init`](https://github.com/antonbabenko/pre-commit-terraform/issues/224) option implementation.
718
721
719
722
4. `terraform_validate` in a repo with Terraform module, written using Terraform 0.15+ and which uses provider `configuration_aliases` ([Provider Aliases Within Modules](https://www.terraform.io/language/modules/develop/providers#provider-aliases-within-modules)), errors out.
0 commit comments