Merge pull request #4020 from stack72/f-aws-elasticache-cluster-maintenance-window

provider/aws:Elasticache maintenance_window forces lowercase
This commit is contained in:
James Nugent 2015-11-23 15:02:21 +02:00
commit 1fa44b4796
1 changed files with 5 additions and 0 deletions

View File

@ -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,