fluxcd-flux2/tests/integration/terraform/azure/aks.tf
Sunny ab94c8064c tests/int: Add IAM setup automation docs and misc fixes
Add instructions about how to create service accounts with IAM
permissions and populate the secrets and variables required in the CI.

Update the panic recovery code to ensure that the exit status surfaces
on panic along with a log message.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-29 17:43:59 +05:30

20 lines
528 B
HCL

module "aks" {
source = "git::https://github.com/fluxcd/test-infra.git//tf-modules/azure/aks"
name = local.name
location = var.azure_location
tags = var.tags
}
module "acr" {
source = "git::https://github.com/fluxcd/test-infra.git//tf-modules/azure/acr"
name = local.name
location = var.azure_location
aks_principal_id = [module.aks.principal_id]
resource_group = module.aks.resource_group
admin_enabled = true
tags = var.tags
depends_on = [module.aks]
}