mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Forcing all Route 53 Healthcheck Types to be Uppercase or it would show diffs unnecessarily
This commit is contained in:
parent
3ebbb62bb0
commit
e635878b11
@ -3,6 +3,7 @@ package aws
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/terraform/helper/schema"
|
||||
@ -24,6 +25,9 @@ func resourceAwsRoute53HealthCheck() *schema.Resource {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
StateFunc: func(val interface{}) string {
|
||||
return strings.ToUpper(val.(string))
|
||||
},
|
||||
},
|
||||
"failure_threshold": &schema.Schema{
|
||||
Type: schema.TypeInt,
|
||||
|
Loading…
Reference in New Issue
Block a user