I have created an ARM template to deploy Azure Storage Account. VS Code ARM intellisense worked fine until now. However, for 'copy'(to copy the storage account already created) it simply does not work. What am i missing?
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"functions": [],
"variables": {},
"resources": [
{
"name": "appstore22121975",
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2021-04-01",
"tags": {
"displayName": "appstore"
},
"location": "East US",
"kind": "StorageV2",
"sku": {
"name": "Standard_LRS"
}
}
],
"outputs": {}
}
CodePudding user response:
We have tried to create an storage account using ARM Template in VS CODE with your configuration as well and works successfully.
Below are the workaround we followed;
However, for 'copy'(to copy the storage account already created) it simply does not work
It seems you have created one storage account with the same name and trying to create the storage account with the same name again which has been created already.
If that is the case ,Please make sure to
NOTE 2:- For the intellisense If you are trying to redeploy the same try to refresh the VS CODE and deploy it again,It should work.
For more information please refer the below links:-
VS CODE GUIDE | Intellisense .