Skip to content

Commit

Permalink
kubernetes: Add validation to maintenance_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
moreinhardt committed Dec 20, 2024
1 parent 39aa8d5 commit c831635
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions digitalocean/kubernetes/resource_kubernetes_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ func ResourceDigitalOceanKubernetesCluster() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"day": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validation.IsDayOfTheWeek(true),
},
"start_time": {
Type: schema.TypeString,
Expand Down

0 comments on commit c831635

Please sign in to comment.