format
This commit is contained in:
@@ -65,7 +65,7 @@ variable "kubernetes" {
|
||||
secret_ref = optional(list(string))
|
||||
config_map_ref = optional(list(string))
|
||||
config_map_import = optional(list(string))
|
||||
secret_import = optional(list(string))
|
||||
secret_import = optional(list(string))
|
||||
extra_manifest = optional(list(string))
|
||||
requirements = optional(map(string))
|
||||
# requirements = optional(map(string), {
|
||||
@@ -823,7 +823,7 @@ data "bitwarden-secrets_secret" "configmap_import" {
|
||||
}
|
||||
|
||||
resource "kubernetes_config_map_v1" "configmap_import" {
|
||||
for_each = { for key, value in data.bitwarden-secrets_secret.configmap_import : key => value }
|
||||
for_each = { for key, value in data.bitwarden-secrets_secret.configmap_import : key => value }
|
||||
metadata {
|
||||
name = each.value.note
|
||||
namespace = split("__", each.value.key)[0]
|
||||
@@ -847,7 +847,7 @@ data "bitwarden-secrets_secret" "secret_import" {
|
||||
}
|
||||
|
||||
resource "kubernetes_secret_v1" "secret_import" {
|
||||
for_each = { for key, value in data.bitwarden-secrets_secret.secret_import : key => value }
|
||||
for_each = { for key, value in data.bitwarden-secrets_secret.secret_import : key => value }
|
||||
metadata {
|
||||
name = each.value.note
|
||||
namespace = split("__", each.value.key)[0]
|
||||
|
||||
Reference in New Issue
Block a user