File tree Expand file tree Collapse file tree 2 files changed +25
-22
lines changed
Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ variable "agent_pools" {
8686
8787``` sh
8888variable " linux_admin_username" {
89- description = " (Required ) User name for authentication to the Kubernetes linux agent virtual machines in the cluster."
89+ description = " (Optional ) User name for authentication to the Kubernetes linux agent virtual machines in the cluster."
9090 type = " string"
9191 default = " azureuser"
9292}
@@ -124,25 +124,17 @@ tags = {
124124
125125``` sh
126126variable " addon_profile" {
127- description = " (Required) AddOn Profile block."
128- }
129- ```
130-
131- Example
132-
133- ``` sh
134- addon_profile = {
135- # Enable Container Monitoring
136- oms_agent = {
137- enabled = true
138- }
139- # Disable HTTP Application Routing
140- http_application_routing = {
141- enabled = false
142- }
143- # Disable Kubernetes Dashboard
144- kube_dashboard = {
145- enabled = false
127+ description = " (Optional) AddOn Profile block."
128+ default = {
129+ oms_agent = {
130+ enabled = true # Enable Container Monitoring
131+ }
132+ http_application_routing = {
133+ enabled = false # Disable HTTP Application Routing
134+ }
135+ kube_dashboard = {
136+ enabled = false # Disable Kubernetes Dashboard
137+ }
146138 }
147139}
148140```
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ variable "agent_pools" {
3232}
3333
3434variable "linux_admin_username" {
35- description = " (Required ) User name for authentication to the Kubernetes linux agent virtual machines in the cluster."
35+ description = " (Optional ) User name for authentication to the Kubernetes linux agent virtual machines in the cluster."
3636 type = " string"
3737 default = " azureuser"
3838}
@@ -47,7 +47,18 @@ variable "tags" {
4747}
4848
4949variable "addon_profile" {
50- description = " (Required) AddOn Profile block."
50+ description = " (Optional) AddOn Profile block."
51+ default = {
52+ oms_agent = {
53+ enabled = true # Enable Container Monitoring
54+ }
55+ http_application_routing = {
56+ enabled = false # Disable HTTP Application Routing
57+ }
58+ kube_dashboard = {
59+ enabled = false # Disable Kubernetes Dashboard
60+ }
61+ }
5162}
5263
5364variable "log_analytics_workspace" {
You can’t perform that action at this time.
0 commit comments