Skip to content

Commit a20125a

Browse files
authored
fix(1p): move vmauth password from o11y to the shared vaults (#1738)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent d1ef0a9 commit a20125a

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

tf/deployment/modules/shared/1password/futo-account/o11y-secrets.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ module "o11y-generated-secrets" {
3737
secrets = {
3838
global = []
3939
scoped = [
40-
{ name = "VICTORIAMETRICS_VMAUTH_PASSWORD" },
4140
{ name = "GRAFANA_ADMIN_PASSWORD" },
4241
{ name = "GRAFANA_POSTGRES_PASSWORD" },
4342
{ name = "GRAFANA_POSTGRES_SUPERUSER_PASSWORD" },

tf/deployment/modules/shared/1password/futo-account/shared-secrets.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,21 @@ module "shared-manual-secrets" {
1818
"shared_tf_dev_manual" = "shared_tf_dev"
1919
}
2020
}
21+
22+
module "shared-generated-secrets" {
23+
source = "./shared/modules/secrets/generated"
24+
25+
secrets = {
26+
global = []
27+
scoped = [
28+
{ name = "O11Y_VICTORIAMETRICS_VMAUTH_PASSWORD" },
29+
]
30+
}
31+
32+
global_vault = "shared_tf"
33+
scoped_vaults = toset([
34+
"shared_tf_prod",
35+
"shared_tf_staging",
36+
"shared_tf_dev",
37+
])
38+
}

0 commit comments

Comments
 (0)