diff --git a/modules/container_app/container_app.tf b/modules/container_app/container_app.tf index 5ea2c1f..1d2e956 100644 --- a/modules/container_app/container_app.tf +++ b/modules/container_app/container_app.tf @@ -83,8 +83,8 @@ resource "azurerm_container_app" "container_app_app" { iterator = volume content { name = volume.value.name + share_name = value.value.share_name storage_type = volume.value.storage_type - storage_name = volume.value.storage_name } } } diff --git a/modules/container_app/variables.tf b/modules/container_app/variables.tf index d69a454..14dd050 100644 --- a/modules/container_app/variables.tf +++ b/modules/container_app/variables.tf @@ -142,7 +142,7 @@ variable "volume" { default = [] type = list(object({ name = string - storage_type = string share_name = string + storage_type = string })) } \ No newline at end of file