File tree Expand file tree Collapse file tree 3 files changed +70
-0
lines changed Expand file tree Collapse file tree 3 files changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Kubernetes Infrastructure on Azure
2
+
3
+ Scripts and configuration files related to the management of the Kubernetes project's Azure infrastructure
4
+
5
+ ## Prerequisites
6
+
7
+ - A local installation of the [ Azure CLI] ( https://learn.microsoft.com/en-us/cli/azure/install-azure-cli ) .
8
+
9
+ ## Layout
10
+
11
+ - ` terraform/ ` : Terraform configuration to deploy resources on Azure
Original file line number Diff line number Diff line change
1
+ # Local .terraform directories
2
+ ** /.terraform /*
3
+
4
+ # Terraform lockfile
5
+ .terraform.lock.hcl
6
+
7
+ # .tfstate files
8
+ * .tfstate
9
+ * .tfstate. *
10
+ * .tfplan
11
+ plan.out
12
+
13
+ # Crash log files
14
+ crash.log
15
+
16
+ # Exclude all .tfvars files, which are likely to contain sentitive data, such as
17
+ # password, private keys, and other secrets. These should not be part of version
18
+ # control as they are data points which are potentially sensitive and subject
19
+ # to change depending on the environment.
20
+ * .tfvars
21
+
22
+ # Ignore override files as they are usually used to override resources locally and so
23
+ # are not checked in
24
+ override.tf
25
+ override.tf.json
26
+ * _override.tf
27
+ * _override.tf.json
28
+
29
+ # Ignore CLI configuration files
30
+ .terraformrc
31
+ terraform.rc
Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/antonbabenko/pre-commit-terraform
3
+ rev : v1.90.0
4
+ hooks :
5
+ - id : terraform_fmt
6
+ files : ^infra/azure/terraform/.*
7
+ - id : terraform_validate
8
+ files : ^infra/azure/terraform/.*
9
+ - id : terraform_tflint
10
+ files : ^infra/azure/terraform/.*
11
+ args :
12
+ - " --args=--only=terraform_deprecated_interpolation"
13
+ - " --args=--only=terraform_deprecated_index"
14
+ - " --args=--only=terraform_unused_declarations"
15
+ - " --args=--only=terraform_comment_syntax"
16
+ - " --args=--only=terraform_documented_variables"
17
+ - " --args=--only=terraform_typed_variables"
18
+ - " --args=--only=terraform_module_pinned_source"
19
+ # - '--args=--only=terraform_naming_convention'
20
+ - " --args=--only=terraform_required_version"
21
+ - " --args=--only=terraform_required_providers"
22
+ - repo : https://github.com/pre-commit/pre-commit-hooks
23
+ rev : v4.4.0
24
+ hooks :
25
+ - id : check-merge-conflict
26
+ files : ^infra/azure/terraform/.*
27
+ - id : end-of-file-fixer
28
+ files : ^infra/azure/terraform/.*
You can’t perform that action at this time.
0 commit comments