From e542bc1d57e25be8c3ca8d73c32a366d103c6653 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Wed, 19 Feb 2025 15:20:25 +0100 Subject: [PATCH] fix: tf format --- tf/deployment/modules/1password/account/config.tf | 2 +- .../modules/1password/account/k8s-secrets.tf | 12 ++++++------ tf/deployment/modules/github/org/secrets.tf | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tf/deployment/modules/1password/account/config.tf b/tf/deployment/modules/1password/account/config.tf index d436ab15..c8d45bdf 100644 --- a/tf/deployment/modules/1password/account/config.tf +++ b/tf/deployment/modules/1password/account/config.tf @@ -18,7 +18,7 @@ terraform { version = "4.0.6" } htpasswd = { - source = "loafoe/htpasswd" + source = "loafoe/htpasswd" version = "1.2.1" } } diff --git a/tf/deployment/modules/1password/account/k8s-secrets.tf b/tf/deployment/modules/1password/account/k8s-secrets.tf index 7870598b..0565e927 100644 --- a/tf/deployment/modules/1password/account/k8s-secrets.tf +++ b/tf/deployment/modules/1password/account/k8s-secrets.tf @@ -305,13 +305,13 @@ resource "onepassword_item" "outline_secret" { } resource "random_password" "preview_registry_password" { - length = 30 - special = false + length = 30 + special = false } resource "random_password" "preview_registry_salt" { - length = 8 - special = false + length = 8 + special = false } resource "htpasswd_password" "preview_registry_secret" { @@ -324,8 +324,8 @@ locals { } resource "onepassword_item" "preview_registry_secret" { - vault = data.onepassword_vault.kubernetes.uuid - title = "preview-registry-secret" + vault = data.onepassword_vault.kubernetes.uuid + title = "preview-registry-secret" category = "secure_note" username = local.preview_registry_user diff --git a/tf/deployment/modules/github/org/secrets.tf b/tf/deployment/modules/github/org/secrets.tf index 48a31cb6..7422295c 100644 --- a/tf/deployment/modules/github/org/secrets.tf +++ b/tf/deployment/modules/github/org/secrets.tf @@ -92,11 +92,11 @@ data "onepassword_item" "preview_registry_secret" { } resource "github_actions_organization_secret" "preview_registry_user" { - secret_name = "PREVIEW_REGISTRY_USER" + secret_name = "PREVIEW_REGISTRY_USER" plaintext_value = data.onepassword_item.preview_registry_secret.username } resource "github_actions_organization_secret" "preview_registry_password" { - secret_name = "PREVIEW_REGISTRY_PASSWORD" + secret_name = "PREVIEW_REGISTRY_PASSWORD" plaintext_value = data.onepassword_item.preview_registry_secret.password }