File tree Expand file tree Collapse file tree 3 files changed +93
-0
lines changed
deploy/terraform/environments Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Original file line number Diff line number Diff line change 1+ # Development Environment Configuration
2+ environment = "dev"
3+ resource_group_name = "rg-eshoponweb"
4+ location = "East US"
5+
6+ # AKS Configuration
7+ cluster_name = "aks-eshoponweb"
8+ kubernetes_version = "1.28"
9+ node_count = 2
10+ vm_size = "Standard_B2s"
11+
12+ # Autoscaling
13+ enable_auto_scaling = false
14+
15+ # Network
16+ vnet_address_space = ["10.0.0.0/16"]
17+ subnet_prefixes = {
18+ aks = "10.0.1.0/24"
19+ gateway = "10.0.2.0/24"
20+ }
21+
22+ # ACR
23+ acr_sku = "Basic"
24+
25+ tags = {
26+ Environment = "Development"
27+ Application = "eShopOnWeb"
28+ ManagedBy = "Terraform"
29+ }
Original file line number Diff line number Diff line change 1+ # Production Environment Configuration
2+ environment = "production"
3+ resource_group_name = "rg-eshoponweb"
4+ location = "East US"
5+
6+ # AKS Configuration
7+ cluster_name = "aks-eshoponweb"
8+ kubernetes_version = "1.28"
9+ node_count = 3
10+ vm_size = "Standard_D4s_v3"
11+
12+ # Autoscaling
13+ enable_auto_scaling = true
14+ min_node_count = 3
15+ max_node_count = 10
16+ max_pods = 50
17+
18+ # Network
19+ vnet_address_space = ["10.2.0.0/16"]
20+ subnet_prefixes = {
21+ aks = "10.2.1.0/24"
22+ gateway = "10.2.2.0/24"
23+ }
24+
25+ # ACR
26+ acr_sku = "Premium"
27+
28+ tags = {
29+ Environment = "Production"
30+ Application = "eShopOnWeb"
31+ ManagedBy = "Terraform"
32+ CostCenter = "Engineering"
33+ }
Original file line number Diff line number Diff line change 1+ # Staging Environment Configuration
2+ environment = "staging"
3+ resource_group_name = "rg-eshoponweb"
4+ location = "East US"
5+
6+ # AKS Configuration
7+ cluster_name = "aks-eshoponweb"
8+ kubernetes_version = "1.28"
9+ node_count = 2
10+ vm_size = "Standard_D2s_v3"
11+
12+ # Autoscaling
13+ enable_auto_scaling = true
14+ min_node_count = 2
15+ max_node_count = 4
16+
17+ # Network
18+ vnet_address_space = ["10.1.0.0/16"]
19+ subnet_prefixes = {
20+ aks = "10.1.1.0/24"
21+ gateway = "10.1.2.0/24"
22+ }
23+
24+ # ACR
25+ acr_sku = "Standard"
26+
27+ tags = {
28+ Environment = "Staging"
29+ Application = "eShopOnWeb"
30+ ManagedBy = "Terraform"
31+ }
You can’t perform that action at this time.
0 commit comments