-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs platform/#2586: change values input from string to list(string)
- Loading branch information
Showing
11 changed files
with
347 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
# Local .terraform directories | ||
**/.terraform/* | ||
.terraform.lock.hcl | ||
|
||
# .tfstate files | ||
*.tfstate | ||
*.tfstate.* | ||
|
||
# Crash log files | ||
crash.log | ||
|
||
# IDE files | ||
.idea | ||
/tmp | ||
.vscode | ||
|
||
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most | ||
# .tfvars files are managed as part of configuration and so should be included in | ||
# version control. | ||
# | ||
# example.tfvars | ||
|
||
# Ignore override files as they are usually used to override resources locally and so | ||
# are not checked in | ||
override.tf | ||
override.tf.json | ||
*_override.tf | ||
*_override.tf.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Refs: https://github.com/terraform-docs/terraform-docs | ||
formatter: "" # this is required | ||
|
||
version: "" | ||
|
||
header-from: main.tf | ||
footer-from: "" | ||
|
||
recursive: | ||
enabled: false | ||
path: modules | ||
|
||
sections: | ||
hide: [] | ||
show: [] | ||
|
||
content: |- | ||
{{ .Providers }} | ||
{{ .Requirements }} | ||
{{ .Inputs }} | ||
{{ .Outputs }} | ||
{{ .Resources }} | ||
{{ .Modules }} | ||
{{ .Footer }} | ||
output: | ||
file: "" | ||
mode: inject | ||
template: |- | ||
<!-- BEGIN_TF_DOCS --> | ||
{{ .Content }} | ||
<!-- END_TF_DOCS --> | ||
output-values: | ||
enabled: false | ||
from: "" | ||
|
||
sort: | ||
enabled: true | ||
by: name | ||
|
||
settings: | ||
anchor: true | ||
color: true | ||
default: true | ||
description: false | ||
escape: true | ||
hide-empty: false | ||
html: true | ||
indent: 2 | ||
lockfile: true | ||
read-comments: true | ||
required: true | ||
sensitive: true | ||
type: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
.PHONY: lint | ||
|
||
lint: | ||
docker run --rm -v $${PWD}:/data -t ghcr.io/terraform-linters/tflint | ||
docker run --rm -v $${PWD}:/data -t ghcr.io/terraform-linters/tflint --var-file=/data/examples/test.tfvars | ||
|
||
tfsec: | ||
docker run --rm -it -v "$$(pwd):/src" aquasec/tfsec /src --tfvars-file=/src/examples/test.tfvars | ||
|
||
generate-docs: lint | ||
docker run --rm -u $$(id -u) \ | ||
--volume "$(PWD):/terraform-docs" \ | ||
-w /terraform-docs \ | ||
quay.io/terraform-docs/terraform-docs:0.16.0 markdown table --config .terraform-docs.yml --output-file README.md --output-mode inject . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
prometheus_stack_chart_version = "31.0.0" | ||
prometheus_adapter_chart_version = "3.0.1" | ||
namespace = "kube-prometheus-stack" | ||
regcred = "regcred-secret" | ||
grafana_ingress_host = "monitoring.example.com" | ||
grafana_ingress_class = "nginx" | ||
grafana_cluster_issuer_name = "prod-certmanager" | ||
grafana_tls_secret_name = "monitoring-tls" | ||
prometheus_stack_chart_version = "31.0.0" | ||
prometheus_adapter_chart_version = "3.0.1" | ||
namespace = "kube-prometheus-stack" | ||
regcred = "regcred-secret" | ||
grafana_ingress_host = "monitoring.example.com" | ||
grafana_ingress_class = "nginx" | ||
grafana_cluster_issuer_name = "prod-certmanager" | ||
grafana_tls_secret_name = "monitoring-tls" | ||
grafana_ingress_basic_auth_username = "admin" | ||
grafana_ingress_basic_auth_message = "Grafana basic auth" | ||
grafana_ingress_basic_auth_message = "Grafana basic auth" |
Oops, something went wrong.