Skip to content

Commit

Permalink
remove commented attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kverma committed Dec 4, 2024
1 parent e697b6c commit 7f5980b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
15 changes: 10 additions & 5 deletions examples/aks_with_microsoft_entra_id/example.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
provider "azurerm" {
features {}
subscription_id = "000001-11111-1223-XXX-XXXXXXXXXXXX"
}
data "azurerm_client_config" "current_client_config" {}

module "resource_group" {
source = "clouddrove/resource-group/azure"
version = "1.0.2"

name = "Public-app"
name = "app-aks"
environment = "test"
label_order = ["name", "environment", ]
location = "Canada Central"
Expand Down Expand Up @@ -52,7 +53,7 @@ module "subnet" {

module "log-analytics" {
source = "clouddrove/log-analytics/azure"
version = "1.0.1"
version = "2.0.0"
name = "app"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -63,9 +64,13 @@ module "log-analytics" {
}

module "vault" {
providers = {
azurerm.dns_sub = azurerm, #chagnge this to other alias if dns hosted in other subscription.
azurerm.main_sub = azurerm
}
source = "clouddrove/key-vault/azure"
version = "1.1.0"
name = "apptestwvshaks"
version = "1.2.0"
name = "appakstestcd222"
#environment = local.environment
resource_group_name = module.resource_group.resource_group_name
location = module.resource_group.resource_group_location
Expand Down Expand Up @@ -97,7 +102,7 @@ module "aks" {
resource_group_name = module.resource_group.resource_group_name
location = module.resource_group.resource_group_location

kubernetes_version = "1.27.7"
kubernetes_version = "1.30.5"
private_cluster_enabled = false
default_node_pool = {
name = "agentpool1"
Expand Down
2 changes: 1 addition & 1 deletion examples/aks_with_microsoft_entra_id/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "3.112.0"
version = ">=3.112.0"
}
}
}
1 change: 1 addition & 0 deletions examples/basic/example.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
provider "azurerm" {
features {}
subscription_id = "000001-11111-1223-XXX-XXXXXXXXXXXX"
}

module "aks" {
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "3.112.0"
version = ">=3.112.0"
}
}
}
}
2 changes: 1 addition & 1 deletion examples/complete/example.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider "azurerm" {
features {}
subscription_id = "2334-12-343-23-##-34343"
subscription_id = "000001-11111-1223-XXX-XXXXXXXXXXXX"
}
data "azurerm_client_config" "current_client_config" {}

Expand Down
7 changes: 2 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ resource "azurerm_kubernetes_cluster" "aks" {

content {
authorized_ip_ranges = var.api_server_access_profile.authorized_ip_ranges
# vnet_integration_enabled = var.api_server_access_profile.vnet_integration_enabled
# subnet_id = var.api_server_access_profile.subnet_id
}
}

Expand Down Expand Up @@ -401,9 +399,8 @@ resource "azurerm_kubernetes_cluster" "aks" {
for_each = var.storage_profile_enabled ? ["storage_profile"] : []

content {
blob_driver_enabled = var.storage_profile.blob_driver_enabled
disk_driver_enabled = var.storage_profile.disk_driver_enabled
# disk_driver_version = var.storage_profile.disk_driver_version
blob_driver_enabled = var.storage_profile.blob_driver_enabled
disk_driver_enabled = var.storage_profile.disk_driver_enabled
file_driver_enabled = var.storage_profile.file_driver_enabled
snapshot_controller_enabled = var.storage_profile.snapshot_controller_enabled
}
Expand Down

0 comments on commit 7f5980b

Please sign in to comment.