|
73 | 73 |
|
74 | 74 | # [Terraform](#tab/terraform)
|
75 | 75 |
|
76 |
| -- An Azure account with an active subscription. You can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 76 | +- You need an Azure account with an active subscription. You can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
77 | 77 |
|
78 |
| -- Terraform. [Install and configure Terraform](/azure/developer/terraform/quickstart-configure) |
| 78 | +- [Install and configure Terraform](/azure/developer/terraform/quickstart-configure) |
79 | 79 |
|
80 | 80 | ---
|
81 | 81 |
|
@@ -519,29 +519,29 @@ Initialize and run the template for this quickstart using the following steps:
|
519 | 519 |
|
520 | 520 | # [Terraform](#tab/terraform)
|
521 | 521 |
|
522 |
| -The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-aks-extended-zones). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-aks-extended-zones/TestRecord.md). See more [articles and sample code showing how to use Terraform to manage Azure resources](/azure/terraform) |
| 522 | +The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-storage-account). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-storage-account/TestRecord.md). See more [articles and sample code showing how to use Terraform to manage Azure resources](/azure/terraform) |
523 | 523 |
|
524 | 524 | 1. Create a directory in which to test and run the sample Terraform code, and make it the current directory.
|
525 | 525 |
|
526 | 526 | 1. Create a file named `main.tf`, and insert the following code:
|
527 |
| - :::code language="Terraform" source="~/terraform_samples/quickstart/101-aks-extended-zones/main.tf"::: |
| 527 | + :::code language="Terraform" source="~/terraform_samples/quickstart/101-azure-storage-account/main.tf"::: |
528 | 528 |
|
529 | 529 | 1. Create a file named `outputs.tf`, and insert the following code:
|
530 |
| - :::code language="Terraform" source="~/terraform_samples/quickstart/101-aks-extended-zones/outputs.tf"::: |
| 530 | + :::code language="Terraform" source="~/terraform_samples/quickstart/101-azure-storage-account/outputs.tf"::: |
531 | 531 |
|
532 | 532 | 1. Create a file named `providers.tf`, and insert the following code:
|
533 |
| - :::code language="Terraform" source="~/terraform_samples/quickstart/101-aks-extended-zones/providers.tf"::: |
| 533 | + :::code language="Terraform" source="~/terraform_samples/quickstart/101-azure-storage-account/providers.tf"::: |
534 | 534 |
|
535 | 535 | 1. Create a file named `variables.tf`, and insert the following code:
|
536 |
| - :::code language="Terraform" source="~/terraform_samples/quickstart/101-aks-extended-zones/variables.tf"::: |
537 |
| -
|
538 |
| -> [!IMPORTANT] |
539 |
| -> If you're using the 4.x azurerm provider, you must [explicitly specify the Azure subscription ID](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#specifying-subscription-id-is-now-mandatory) to authenticate to Azure before running the Terraform commands. |
540 |
| -> |
541 |
| -> One way to specify the Azure subscription ID without putting it in the `providers` block is to specify the subscription ID in an environment variable named `ARM_SUBSCRIPTION_ID`. |
542 |
| -> |
543 |
| -> For more information, see the [Azure provider reference documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#argument-reference). |
544 |
| -
|
| 536 | + :::code language="Terraform" source="~/terraform_samples/quickstart/101-azure-storage-account/variables.tf"::: |
| 537 | +
|
| 538 | + > [!IMPORTANT] |
| 539 | + > If you're using the 4.x azurerm provider, you must [explicitly specify the Azure subscription ID](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide#specifying-subscription-id-is-now-mandatory) to authenticate to Azure before running the Terraform commands. |
| 540 | + > |
| 541 | + > One way to specify the Azure subscription ID without putting it in the `providers` block is to specify the subscription ID in an environment variable named `ARM_SUBSCRIPTION_ID`. |
| 542 | + > |
| 543 | + > For more information, see the [Azure provider reference documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#argument-reference). |
| 544 | + |
545 | 545 | 1. Initialize Terraform.
|
546 | 546 | [!INCLUDE [terraform-init.md](~/azure-dev-docs-pr/articles/terraform/includes/terraform-init.md)]
|
547 | 547 |
|
|
0 commit comments