Skip to content

Commit ef411ae

Browse files
Merge pull request #3789 from MicrosoftDocs/main638905286354679347sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 461007b + 0db83b3 commit ef411ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AKS-Arc/create-clusters-terraform.md

Lines changed: 3 additions & 3 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: 02/26/2025
7+
ms.date: 08/11/2025
88

99
---
1010

@@ -89,15 +89,15 @@ az login
8989
}
9090
```
9191

92-
1. Create another file named **main.tf** that points to the latest AKS Arc AVM module, and insert the following code. You can read the description and input of the module and add optional parameters as needed. To find the admin group object ID, see [Enable Microsoft Entra authentication for Kubernetes clusters](enable-authentication-microsoft-entra-id.md). You can [follow this guidance](https://github.com/Azure/Edge-infrastructure-quickstart-template/blob/main/doc/AKS-Arc-Admin-Groups.md) to find it in your Azure environment. To enable Azure RBAC, update the corresponding parameter and see [Enable Azure RBAC for Kubernetes Authorization](azure-rbac-local.md) for prerequisites.
92+
1. Create another file named **main.tf** that points to the latest AKS Arc AVM module, and insert the following code. You can read the comments in the the module and edit parameters as needed. Please make sure all the values are correctly entered to avoid failures during cluster creation. To find the admin group object ID, see [Enable Microsoft Entra authentication for Kubernetes clusters](enable-authentication-microsoft-entra-id.md). You can [follow this guidance](https://github.com/Azure/Edge-infrastructure-quickstart-template/blob/main/doc/AKS-Arc-Admin-Groups.md) to find it in your Azure environment. To enable Azure RBAC, update the corresponding parameter and see [Enable Azure RBAC for Kubernetes Authorization](azure-rbac-local.md) for prerequisites.
9393

9494
```terraform
9595
module "aks_arc" {
9696
# Make sure to use the latest AVM module version
9797
source = "Azure/avm-res-hybridcontainerservice-provisionedclusterinstance/azurerm"
9898
version = "~>2.0"
9999
100-
# Make sure to provide all required parameters
100+
# Make sure to provide all required parameters; for example, location= = "eastus"
101101
resource_group_id = "<Resource_Group>"
102102
location = "<Region>"
103103
name = "<Cluster_Name>"

0 commit comments

Comments
 (0)