Changing the AWS ElastiCache cluster maintenance_window to enforce lowercase
This commit is contained in:
parent
b4725d4fa3
commit
150e997a96
|
@ -71,6 +71,11 @@ func resourceAwsElasticacheCluster() *schema.Resource {
|
|||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
StateFunc: func(val interface{}) string {
|
||||
// Elasticache always changes the maintenance
|
||||
// to lowercase
|
||||
return strings.ToLower(val.(string))
|
||||
},
|
||||
},
|
||||
"subnet_group_name": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
|
|
Loading…
Reference in New Issue