Azure infrastructure use ARM Templates

SRP 45 Reputation points
2024-03-24T15:09:19.1166667+00:00

Hi Support,

I was doing the following exercise "Create and deploy an Azure Resource Manager template".

Followed instructions and every step but got the error command, "No such file or directory: azuredeploy.json. ARM template doesn't have any resources, so you won't see any created.

Please help.

Thanks in advance.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,819 questions
{count} votes

Accepted answer
  1. Rakesh Gurram 9,970 Reputation points Microsoft Vendor
    2024-03-24T15:22:49.37+00:00

    Hi SRP,

    Thank you for reaching out to us on Microsoft Q&A forum.

    Based on your question we understand that you are going through the following module: Exercise - Create and deploy an Azure Resource Manager template

    When you are using Git Bash and Azure CLI, the "present directory" or current working directory is where you should save your 'azuredeploy.json' file. It is the directory in which you are currently located when running commands in the terminal. 

    Here are some steps to clarify: 

    1.Create your Azure Resource Manager (ARM) Template 'azuredeploy.json': When you create your ARM template, save it in a directory of your choice on your local machine. For example, you might have a project folder where you keep all your code and related files. 

    2.Open Git Bash: Open Git Bash and navigate to the directory where you saved your 'azuredeploy.json' file. You can use the 'cd' command to change it to the appropriate directory as shown in the following screenshot: User's image It should reflect in this manner: User's image User's image We have done practically from our end successfully, kindly follow the steps as per the exercise. Sharing the screenshot below for your reference: User's image User's image

    If you are still facing any issue, please let us know in the comments.

    Please Accept Answer so that it would be helpful to community members.

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.