Skip to content

Commit

Permalink
Merge pull request #5747 from terraform-providers/f/aks-standard-lb
Browse files Browse the repository at this point in the history
r/kubernetes_cluster: updating the default for load_balancer_sku to `Standard`
  • Loading branch information
tombuildsstuff authored Feb 14, 2020
2 parents 0e3a7eb + 438cf24 commit 39f48d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,9 @@ func resourceArmKubernetesCluster() *schema.Resource {
"load_balancer_sku": {
Type: schema.TypeString,
Optional: true,
Default: string(containerservice.Basic),
Default: string(containerservice.Standard),
ForceNew: true,
// TODO: fix the casing in the Swagger
ValidateFunc: validation.StringInSlice([]string{
string(containerservice.Basic),
string(containerservice.Standard),
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ A `network_profile` block supports the following:

Examples of how to use [AKS with Advanced Networking](https://docs.microsoft.com/en-us/azure/aks/networking-overview#advanced-networking) can be [found in the `./examples/kubernetes/` directory in the Github repository](https://github.com/terraform-providers/terraform-provider-azurerm/tree/master/examples/kubernetes).

* `load_balancer_sku` - (Optional) Specifies the SKU of the Load Balancer used for this Kubernetes Cluster. Possible values are `basic` and `standard`. Defaults to `basic`.
* `load_balancer_sku` - (Optional) Specifies the SKU of the Load Balancer used for this Kubernetes Cluster. Possible values are `Basic` and `Standard`. Defaults to `Standard`.

* `load_balancer_profile` - (Optional) A `load_balancer_profile` block. This can only be specified when `load_balancer_sku` is set to `standard`.
* `load_balancer_profile` - (Optional) A `load_balancer_profile` block. This can only be specified when `load_balancer_sku` is set to `Standard`.

---

Expand Down

0 comments on commit 39f48d4

Please sign in to comment.