Skip to content

Commit d880eea

Browse files
authored
Merge pull request #219 from lonegunmanb/f-217
Enable private cluster for the test code.
2 parents 446975a + 48ec79d commit d880eea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/fixture/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module "aks_without_monitor" {
8282
resource_group_name = azurerm_resource_group.main.name
8383
enable_role_based_access_control = true
8484
rbac_aad_managed = true
85+
private_cluster_enabled = true
8586
#checkov:skip=CKV_AZURE_4:The logging is turn off for demo purpose. DO NOT DO THIS IN PRODUCTION ENVIRONMENT!
8687
enable_log_analytics_workspace = false
8788
net_profile_pod_cidr = "10.1.0.0/16"
@@ -96,6 +97,7 @@ module "aks_cluster_name" {
9697
enable_role_based_access_control = true
9798
rbac_aad_managed = true
9899
enable_log_analytics_workspace = true
100+
private_cluster_enabled = true
99101
# Not necessary, just for demo purpose.
100102
admin_username = "azureuser"
101103
cluster_log_analytics_workspace_name = "test-cluster"

0 commit comments

Comments
 (0)