Skip to content

Commit f5fa2ca

Browse files
authored
Update date and improve instructions formatting
1 parent e179fca commit f5fa2ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

AKS-Arc/create-clusters-terraform.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to create Kubernetes clusters using Terraform.
44
author: sethmanheim
55
ms.author: sethm
66
ms.topic: how-to
7-
ms.date: 11/15/2024
7+
ms.date: 02/10/2025
88

99
---
1010

@@ -51,11 +51,11 @@ To create an SSH key pair (same as Azure AKS), use the following procedure:
5151

5252
## Sign in to Azure
5353

54-
Terraform only supports authenticating to Azure with the Azure CLI using [`az login`](https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-login). Authenticating using Azure PowerShell isn't supported. Therefore, while you can use the Azure PowerShell module when doing your Terraform work, you must first [authenticate to Azure](/azure/developer/terraform/authenticate-to-azure).
54+
Terraform only supports authenticating to Azure with the Azure CLI using [`az login`](https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-login). Authenticating using Azure PowerShell isn't supported. Therefore, while you can use the Azure PowerShell module when doing your Terraform work, you must first [authenticate to Azure](/azure/developer/terraform/authenticate-to-azure):
5555

56-
```azurecli
57-
az login
58-
```
56+
```azurecli
57+
az login
58+
```
5959

6060
## Implement the Terraform code
6161

@@ -120,7 +120,7 @@ terraform init -upgrade
120120

121121
## Create a Terraform execution plan and apply
122122

123-
Please make sure you've run [`az login`](https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-login) and authenticate to Azure before this step, otherwise there will be failure when applying the Terraform plan. Run[terraform plan](https://www.terraform.io/docs/commands/plan.html)to create an execution plan, then run[terraform apply](https://www.terraform.io/docs/commands/apply.html)to apply the output file to your cloud infrastructure:
123+
Make sure you run [`az login`](https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-login) and authenticate to Azure before this step, otherwise applying the Terraform plan fails. Run [`terraform plan`](https://www.terraform.io/docs/commands/plan.html) to create an execution plan, then run [`terraform apply`](https://www.terraform.io/docs/commands/apply.html) to apply the output file to your cloud infrastructure:
124124

125125
```terraform
126126
terraform plan -out main.tfplan

0 commit comments

Comments
 (0)