Skip to content

Commit b1cee4d

Browse files
authored
chore: Correct mis-spellings, ignore files with generated content from pre-commit checks (#2015)
1 parent 6409db6 commit b1cee4d

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v8.13.3
44
hooks:
55
- id: cspell
6-
args: [--exclude, 'ADOPTERS.md', --exclude, '.pre-commit-config.yaml', --exclude, '.gitignore', --exclude, '*.drawio', --exclude, 'mkdocs.yml', --exclude, '.helmignore', --exclude, '.github/workflows/*', --exclude, 'patterns/istio-multi-cluster/*', --exclude, 'patterns/blue-green-upgrade/*']
6+
args: [--exclude, 'ADOPTERS.md', --exclude, '.pre-commit-config.yaml', --exclude, '.gitignore', --exclude, '*.drawio', --exclude, 'mkdocs.yml', --exclude, '.helmignore', --exclude, '.github/workflows/*', --exclude, 'patterns/istio-multi-cluster/*', --exclude, 'patterns/blue-green-upgrade/*', --exclude, '/patterns/vpc-lattice/cross-cluster-pod-communication/*', --exclude, 'patterns/bottlerocket/*', --exclude, 'patterns/nvidia-gpu-efa/generate-efa-nccl-test.sh']
77
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
88
rev: v2.14.0
99
hooks:
@@ -19,7 +19,7 @@ repos:
1919
- id: detect-aws-credentials
2020
args: [--allow-missing-credentials]
2121
- repo: https://github.com/antonbabenko/pre-commit-terraform
22-
rev: v1.92.1
22+
rev: v1.96.1
2323
hooks:
2424
- id: terraform_fmt
2525
- id: terraform_docs

docs/cSpell_dict.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
acmpca
22
acmca_arn
33
addrs
4+
adduser
45
adot
56
agones
67
akuity
78
alekc
9+
alertmanager
810
algbw
911
ALLOWVOLUMEEXPANSION
1012
amazonlinux
@@ -56,6 +58,7 @@ daemonset
5658
datasource
5759
dcgm
5860
distro
61+
dockerhub
5962
ecrpublic
6063
ecsdemo
6164
ecsfrontend
@@ -108,19 +111,25 @@ mktemp
108111
mountpoint
109112
mpijob
110113
mpijobs
114+
mpirun
111115
mtls
112116
nccl
113117
netcat
114118
nics
115119
nodeadm
116120
nodegroup
117121
nodeport
122+
nopasswd
118123
nvme
119124
odcr
120125
oidc
126+
openmpi
127+
openpolicyagent
121128
persistentvolume
122129
pkce
123130
pubkey
131+
pullthroughcache
132+
ecrpullthroughcache
124133
privateca
125134
privatelink
126135
prometheusservice

patterns/ecr-pull-through-cache/ecr.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module "secrets_manager" {
44

55
name = "ecr-pullthroughcache/docker"
66
secret_string = jsonencode(var.docker_secret)
7-
recovery_window_in_days = 0 # Set to 0 for testing purposes, this will immediatly delete the secret. This action is irreversible. https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html
7+
recovery_window_in_days = 0 # Set to 0 for testing purposes, this will immediately delete the secret. This action is irreversible. https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html
88
}
99

1010
module "ecr" {

patterns/ecr-pull-through-cache/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "docker_secret" {
2-
description = "Inform your docker username and accessToken to allow pullTroughCache to get images from Docekr.io. E.g. `{username='user',accessToken='pass'}`"
2+
description = "Inform your docker username and accessToken to allow pullTroughCache to get images from Docker.io. E.g. `{username='user',accessToken='pass'}`"
33
type = object({
44
username = string
55
accessToken = string

patterns/karpenter-mng/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provider "aws" {
2424
region = local.region
2525
}
2626

27-
# This provider is required for ECR to autheticate with public repos. Please note ECR authetication requires us-east-1 as region hence its hardcoded below.
27+
# This provider is required for ECR to authenticate with public repos. Please note ECR authentication requires us-east-1 as region hence its hardcoded below.
2828
# If your region is same as us-east-1 then you can just use one aws provider
2929
provider "aws" {
3030
alias = "ecr"

patterns/karpenter/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ provider "aws" {
22
region = local.region
33
}
44

5-
# This provider is required for ECR to authenticate with public repos. Please note ECR authetication requires us-east-1 as region hence its hardcoded below.
5+
# This provider is required for ECR to authenticate with public repos. Please note ECR authentication requires us-east-1 as region hence its hardcoded below.
66
# If your region is same as us-east-1 then you can just use one aws provider
77
provider "aws" {
88
alias = "ecr"

0 commit comments

Comments
 (0)