Skip to content

Commit

Permalink
r/kubernetes_cluster: making the dns_prefix field Required (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff authored Jun 1, 2018
1 parent 91e4562 commit 73110aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions azurerm/resource_arm_kubernetes_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ func resourceArmKubernetesCluster() *schema.Resource {

"dns_prefix": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Required: true,
},

"fqdn": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The following arguments are supported:

* `resource_group_name` - (Required) Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

* `dns_prefix` - (Optional) DNS prefix specified when creating the managed cluster.
* `dns_prefix` - (Required) DNS prefix specified when creating the managed cluster.

* `kubernetes_version` - (Optional) Version of Kubernetes specified when creating the AKS managed cluster. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade).

Expand Down

0 comments on commit 73110aa

Please sign in to comment.