File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -12,31 +12,31 @@ resource "azurerm_container_registry" "this_container_registry" {
1212 depends_on = [azurerm_resource_group . this_resource_group ]
1313}
1414
15- # resource "azurerm_kubernetes_cluster" "this_aks_cluster" {
16- # name = var.aks_name
17- # location = var.location
18- # resource_group_name = azurerm_resource_group.this_resource_group.name
19- # dns_prefix = "DSB"
20-
21-
22- # default_node_pool {
23- # name = "default"
24- # node_count = 1
25- # vm_size = "Standard_A2_v2"
26- # }
27-
28- # identity {
29- # type = "UserAssigned"
30- # identity_ids = [azurerm_user_assigned_identity.this_uaid.id]
31- # }
32-
33- # tags = {
34- # Environment = "Production"
35- # }
36- # depends_on = [
37- # azurerm_role_assignment.uaid_contributor,
38- # azurerm_role_assignment.acr_pull,
39- # azurerm_role_assignment.acr_push
40- # ]
41- # }
15+ resource "azurerm_kubernetes_cluster" "this_aks_cluster" {
16+ name = var. aks_name
17+ location = var. location
18+ resource_group_name = azurerm_resource_group. this_resource_group . name
19+ dns_prefix = " DSB"
20+
21+
22+ default_node_pool {
23+ name = " default"
24+ node_count = 1
25+ vm_size = " Standard_A2_v2"
26+ }
27+
28+ identity {
29+ type = " UserAssigned"
30+ identity_ids = [azurerm_user_assigned_identity . this_uaid . id ]
31+ }
32+
33+ tags = {
34+ Environment = " Production"
35+ }
36+ depends_on = [
37+ azurerm_role_assignment . uaid_contributor ,
38+ azurerm_role_assignment . acr_pull ,
39+ azurerm_role_assignment . acr_push
40+ ]
41+ }
4242
You can’t perform that action at this time.
0 commit comments