Add prefix to KMS ring, to allow easy recreate

This commit is contained in:
Wiktor Niesiobędzki
2025-02-08 13:44:05 +00:00
committed by Wiktor Niesiobędzki
parent 7c5b84f33e
commit 58f22ce647
14 changed files with 21 additions and 21 deletions

View File

@@ -804,7 +804,7 @@ module "kms" {
project_id = var.project_id # KMS is in different project to prevent dependency cycle
keyring = {
location = var.region
name = "keyring"
name = "${var.prefix}-keyring"
}
keys = {
"key-regional" = {
@@ -1362,7 +1362,7 @@ module "kms" {
project_id = var.project_id # Keys come from different project to prevent dependency cycle
keyring = {
location = "global"
name = "keyring"
name = "${var.prefix}-keyring"
}
keys = {
"key-global" = {