Open Trueber opened 1 year ago
Azure Container Apps does support mounting from a subpath in a volume to a container app, but azurerm_container_app does currently not support this.
(From https://learn.microsoft.com/en-us/azure/templates/microsoft.app/containerapps?pivots=deployment-language-arm-template#resource-format-2):
"volumeMounts": [ { "mountPath": "string", "subPath": "string", "volumeName": "string" } ]``` subPath: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). ### New or Affected Resource(s)/Data Source(s) azurerm_container_app ### Potential Terraform Configuration ```hcl resource "azurerm_container_app" "my_container_app" { ... template { volume { name = "vol_name" storage_name = "storage_name" storage_type = "AzureFile" } container { ... volume_mounts { name = "vol_name" sub_path = "sub-dir-for-this-container" path = "/mnt/mounted" } } } }
No response
Thank you for taking the time to open this feature request!
Are there any plans for this?
Any updates on this ?
Any update?
Hello, Would really appreciate for merging this small PR
Is there an existing issue for this?
Community Note
Description
Azure Container Apps does support mounting from a subpath in a volume to a container app, but azurerm_container_app does currently not support this.
(From https://learn.microsoft.com/en-us/azure/templates/microsoft.app/containerapps?pivots=deployment-language-arm-template#resource-format-2):
References
No response