o mount multiple volumes in a container instance, you must deploy using an [Azure Resource Manager template](https://learn.microsoft.com/en-us/azure/templates/microsoft.containerinstance/containergroups), a YAML file, or another programmatic method. To use a template or YAML file, provide the share details and define the volumes by populating the volumes array in the properties section of the file.
For example, if you created two Azure Files shares named share1 and share2 in storage account myStorageAccount, the volumes array in a Resource Manager template would appear similar to the following
Next, for each container in the container group in which you'd like to mount the volumes, populate the volumeMounts array in the properties section of the container definition. For example, this mounts the two volumes, myvolume1 and myvolume2, previously defined:
Is there an existing issue for this?
Community Note
Description
This is not true anymore. The Azure API now accepts more than one volume
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files#mount-multiple-volumes
New or Affected Resource(s)/Data Source(s)
azurerm_container_group
Potential Terraform Configuration
References
No response