Rename attribute secret.secret to secret.name
This commit is contained in:
parent
bc4f89d9dc
commit
4c9243017c
|
@ -223,7 +223,7 @@ resource "google_cloud_run_v2_service" "service" {
|
|||
dynamic "secret" {
|
||||
for_each = volumes.value.secret == null ? [] : [""]
|
||||
content {
|
||||
secret = volumes.value.secret.secret
|
||||
secret = volumes.value.secret.name
|
||||
default_mode = volumes.value.secret.default_mode
|
||||
dynamic "items" {
|
||||
for_each = volumes.value.secret.path == null ? [] : [""]
|
||||
|
|
|
@ -203,7 +203,7 @@ variable "volumes" {
|
|||
description = "Named volumes in containers in name => attributes format."
|
||||
type = map(object({
|
||||
secret = optional(object({
|
||||
secret = string
|
||||
name = string
|
||||
default_mode = optional(string)
|
||||
path = optional(string)
|
||||
version = optional(string)
|
||||
|
|
Loading…
Reference in New Issue