avm-res-hybridcontainerservice-provisionedclusterinstance
Azure/avm-res-hybridcontainerservice-provisionedclusterinstance/azurerm
Terraform Azure Verified Resource Module for AKS Arc
terraform-azurerm-avm-res-hybridcontainerservice-provisionedclusterinstance Module to onboard arc aks in azure stack hci. Requirements The following requirements are needed by this module: - terraform (>= 1.9, azapi (~> 2.4) - azurerm (~> 4.0) - modtm (~> 0.3) - random (~> 3.5) - tls (>= 3.1) Resources The following resources are used by this module: - azapi_resource.agent_pool (resource) - azapi_resource.connected_cluster (resource) - azapi_resource.provisioned_cluster_instance (resource) - azurerm_key_vault_secret.ssh_private_key_pem (resource) - azurerm_key_vault_secret.ssh_public_key (resource) - azurerm_management_lock.this (resource) - azurerm_role_assignment.this (resource) - modtm_telemetry.telemetry (resource) - random_uuid.telemetry (resource) - terraform_data.wait_aks_vhd_ready
| Name | Type | Description | Default |
|---|---|---|---|
| agent_pool_profiles | list(object({ count | The agent pool profiles | required |
| logical_network_id | string | The id of the logical network that the AKS nodes will be connected to. | required |
| name | string | The name of the hybrid aks | required |
| resource_group_id | string | The resource group id where the resources will be deployed. | required |
| custom_location_id | string | The id of the Custom location that used to create hybrid aks | required |
| location | string | Azure region where the resource should be deployed. | required |
| role_assignments | map(object({ role_definiti | A map of role assignments to create on this resource. The map key is deliberatel | {} |
| ssh_public_key_secret_name | string | The name of the secret in the key vault that contains the SSH public key. | "AksArcAgentSshPublicKey" |
| ssh_public_key | string | The SSH public key that will be used to access the kubernetes cluster nodes. If | null |
| enable_oidc_issuer | bool | (Optional) Enable OIDC Issuer | null |
| kubernetes_version | string | The kubernetes version | "" |
| managed_identities | object({ system_assigned | Controls the Managed Identity configuration on this resource. The following prop | {} |
| azure_hybrid_benefit | string | The Azure Hybrid Benefit for the kubernetes cluster. | "False" |
| enable_azure_rbac | bool | Enable Azure RBAC for the kubernetes cluster | true |
| smb_csi_driver_enabled | bool | Enable the SMB CSI driver for the kubernetes cluster. | true |
| tags | map(string) | (Optional) Tags of the resource. | null |
| customer_managed_key | object({ key_vault_resourc | A map describing customer-managed keys to associate with the resource. This incl | null |
| enable_workload_identity | bool | (Optional) Enable Workload Identity | null |
| additional_nodepools | list(object({ name | Map of agent pool configurations | [] |
| is_exported | bool | Indicates whether the resource is exported | false |
| nfs_csi_driver_enabled | bool | Enable the NFS CSI driver for the kubernetes cluster. | true |
| pod_cidr | string | The CIDR range for the pods in the kubernetes cluster | "10.244.0.0/16" |
| rbac_admin_group_object_ids | list(string) | The object id of the admin group of the azure rbac | [] |
| tenant_id | string | (Optional) Value of the tenant id | "" |
| control_plane_count | number | The count of the control plane | 1 |
| lock | object({ kind = string | Controls the Resource Lock configuration for this resource. The following proper | null |
aks_cluster — AKS Arc Cluster instanceresource_id — AKS Arc Provisioned Cluster instancersa_private_key — The RSA private key