Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "feat:create new files and delete main.tf (#19)" #20

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions _examples/aks_with_microsoft_entra_id/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ module "aks" {

kubernetes_version = "1.27.7"
private_cluster_enabled = false

default_node_pool = {
name = "agentpool1"
max_pods = 200
Expand All @@ -109,7 +108,6 @@ module "aks" {
enable_node_public_ip = false
}


##### if requred more than one node group.
nodes_pools = [
{
Expand Down
11 changes: 10 additions & 1 deletion _examples/basic/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ module "aks" {
location = "Central India"

kubernetes_version = "1.27"
default_node_pool = {
name = "agentpool"
max_pods = 200
os_disk_size_gb = 64
vm_size = "Standard_B2s"
count = 1
enable_node_public_ip = false
}


##### if requred more than one node group.
nodes_pools = [
Expand All @@ -22,7 +31,7 @@ module "aks" {
count = 2
enable_node_public_ip = false
mode = "User"
}
},
]

#networking
Expand Down
3 changes: 1 addition & 2 deletions _examples/complete/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module "vault" {
}

module "aks" {
source = "../../"
source = "../.."
name = "app1"
environment = "test"

Expand All @@ -99,7 +99,6 @@ module "aks" {

kubernetes_version = "1.27.7"
private_cluster_enabled = false

default_node_pool = {
name = "agentpool1"
max_pods = 200
Expand Down
5 changes: 2 additions & 3 deletions _examples/private_cluster/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ module "aks" {
location = module.resource_group.resource_group_location

kubernetes_version = "1.27"

default_node_pool = {
name = "agentpool1"
name = "agentpool"
max_pods = 200
os_disk_size_gb = 64
vm_size = "Standard_B4ms"
vm_size = "Standard_B2s"
count = 1
enable_node_public_ip = false
}
Expand Down
2 changes: 1 addition & 1 deletion _examples/public_cluster/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ module "aks" {

kubernetes_version = "1.27.7"
private_cluster_enabled = false

default_node_pool = {
name = "agentpool1"
max_pods = 200
Expand All @@ -109,6 +108,7 @@ module "aks" {
enable_node_public_ip = false
}


##### if requred more than one node group.
nodes_pools = [
{
Expand Down
Loading
Loading