kubernetes-service-principal
avinor/kubernetes-service-principal/azurerm
Terraform module to create service principal credentials and assign access for AKS
Kubernetes Service Principal A complementary module to Kubernetes (AKS) module to create the service principal and assign roles required. It will output the application id and password required as input parameters to avinor/kubernetes/azurerm module. This module requires elevated access to be able to create the application in AzureAD and assign roles to resources. It is therefore not recommended to be run as any CI/CD pipeline, but instead manually before running any automated process. The output can still be used by reading remote state. Accesses are based on Microsoft documentation. Usage Examples use tau. ``terraform module { source = "avinor/kubernetes-service-principal/azurerm" version = "1.0.0" } inputs { name = "aks-sp" end_date = "2020-01-01T00:00:00Z" subnet_id = [ "/subscriptions
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the service principal. | required |
| end_date | string | The End Date which the Password is valid until, formatted as a RFC3339 date stri | required |
| acr_id | string | Id of Azure Container Registry to grant access to. | required |
| subnet_id | list(string) | List of ids of virtual network subnet to grant Network Contributer access to if | [] |
| storage_id | list(string) | List of storage account ids to grant Storage Account Contributor access to. | [] |
client_id — The application id of AzureAD application created.client_secret — Password for service principal.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,