From 1550d995c7876ff9a76c33d7ce990b11e458d8fe Mon Sep 17 00:00:00 2001 From: inductor Date: Mon, 22 May 2023 23:54:26 +0900 Subject: [PATCH] terraform fmt --- .gitignore | 18 ++++++++++++++++++ terraform/onp_cluster_minecraft_secrets.tf | 4 ++-- terraform/onp_cluster_secrets.tf | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9f11b755a..e669e9a78 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,19 @@ .idea/ + +# Local .terraform directories +**/.terraform/* + +# .tfstate files +**/*.tfstate +**/*.tfstate.* + +# Exclude all .tfvars files, which are likely to contain sensitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +**/*.tfvars +**/*.tfvars.json + +# Ignore CLI configuration files +**/.terraformrc +**/terraform.rc diff --git a/terraform/onp_cluster_minecraft_secrets.tf b/terraform/onp_cluster_minecraft_secrets.tf index 38d365c78..9d25a527e 100644 --- a/terraform/onp_cluster_minecraft_secrets.tf +++ b/terraform/onp_cluster_minecraft_secrets.tf @@ -68,7 +68,7 @@ resource "kubernetes_secret" "onp_minecraft_prod_mariadb_root_password" { } data = { - "root-password" = var.minecraft__prod_mariadb_root_password + "root-password" = var.minecraft__prod_mariadb_root_password "mcserver-password" = var.minecraft__prod_mariadb_mcserver_password } @@ -84,7 +84,7 @@ resource "kubernetes_secret" "onp_minecraft_debug_mariadb_root_password" { } data = { - "root-password" = var.minecraft__debug_mariadb_root_password + "root-password" = var.minecraft__debug_mariadb_root_password "mcserver-password" = var.minecraft__debug_mariadb_mcserver_password } diff --git a/terraform/onp_cluster_secrets.tf b/terraform/onp_cluster_secrets.tf index 4e172de26..57bb7581c 100644 --- a/terraform/onp_cluster_secrets.tf +++ b/terraform/onp_cluster_secrets.tf @@ -92,7 +92,7 @@ resource "kubernetes_secret" "minio_prod_access_secret" { } data = { - "MINIO_ACCESS_KEY" = var.minio_prod_access_key + "MINIO_ACCESS_KEY" = var.minio_prod_access_key "MINIO_ACCESS_SECRET" = var.minio_prod_access_secret } @@ -108,7 +108,7 @@ resource "kubernetes_secret" "minio_debug_access_secret" { } data = { - "MINIO_ACCESS_KEY" = var.minio_debug_access_key + "MINIO_ACCESS_KEY" = var.minio_debug_access_key "MINIO_ACCESS_SECRET" = var.minio_debug_access_secret }