mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #4020 from stack72/f-aws-elasticache-cluster-maintenance-window
provider/aws:Elasticache maintenance_window forces lowercase
This commit is contained in:
commit
1fa44b4796
@ -71,6 +71,11 @@ func resourceAwsElasticacheCluster() *schema.Resource {
|
|||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: 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{
|
"subnet_group_name": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
Loading…
Reference in New Issue
Block a user