As part of an Azure ACI definition Terraform script, I'm creating an azurerm_storage_share which I want to then upload some files to, before mounting to my container.
As far as I can tell, the right way to access the share once created is via SMB. This rules out all the Terraform provisioners (except local-exec) which support only SSH or WinRM.
So I'm thinking the most efficient, maintainable way to do this is to local-exec to a script that runs azure-cli commands like az storage upload ... ? That way TF does what it does best (orchestration) and have az do config provisioning.