diff --git a/modules/container_app/container_app.tf b/modules/container_app/container_app.tf index 9371917..2f3858b 100644 --- a/modules/container_app/container_app.tf +++ b/modules/container_app/container_app.tf @@ -83,6 +83,7 @@ resource "azurerm_container_app" "container_app_app" { iterator = volume content { name = volume.value.name + storage_name = volumn.value.storage_name storage_type = volume.value.storage_type } } diff --git a/modules/container_app/variables.tf b/modules/container_app/variables.tf index d09cad0..bf53cef 100644 --- a/modules/container_app/variables.tf +++ b/modules/container_app/variables.tf @@ -142,6 +142,7 @@ variable "volume" { default = [] type = list(object({ name = string + storage_name = string storage_type = string })) } \ No newline at end of file