Updated dev environment for JEDI.

- Updated environment name.
- Updated variables.
- AKS service principal creds moved to the operator Key Vault.
This commit is contained in:
dandds
2020-01-20 19:34:47 -05:00
parent fdd8e3dbba
commit 9f2bdd4a9f
9 changed files with 49 additions and 13 deletions

View File

@@ -10,8 +10,8 @@ resource "azurerm_kubernetes_cluster" "k8s" {
dns_prefix = var.k8s_dns_prefix
service_principal {
client_id = "f05a4457-bd5e-4c63-98e1-89aab42645d0"
client_secret = "19b69e2c-9f55-4850-87cb-88c67a8dc811"
client_id = var.client_id
client_secret = var.client_secret
}
default_node_pool {
@@ -38,4 +38,4 @@ resource "azurerm_kubernetes_cluster" "k8s" {
environment = var.environment
owner = var.owner
}
}
}

View File

@@ -52,3 +52,13 @@ variable "min_count" {
type = string
description = "Minimum number of nodes to use in autoscaling. This requires `enable_auto_scaling` to be set to true"
}
variable "client_id" {
type = string
description = "The client ID for the Service Principal associated with the AKS cluster."
}
variable "client_secret" {
type = string
description = "The client secret for the Service Principal associated with the AKS cluster."
}