Merge pull request #2534 from dtan4/ec-subnet-group-subnet-ids

Make elasticache_subnet_group subnet_ids as required argument
This commit is contained in:
Radek Simko 2015-06-30 08:45:48 +01:00
commit f67410db53
2 changed files with 2 additions and 3 deletions

View File

@ -32,8 +32,7 @@ func resourceAwsElasticacheSubnetGroup() *schema.Resource {
},
"subnet_ids": &schema.Schema{
Type: schema.TypeSet,
Optional: true,
Computed: true,
Required: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: func(v interface{}) int {
return hashcode.String(v.(string))

View File

@ -47,7 +47,7 @@ The following arguments are supported:
* `description` (Required) Description for the cache subnet group
* `name` (Required) Name for the cache subnet group. This value is stored as
a lowercase string
* `subnet_ids` (Optional) List of VPC Subnet IDs for the cache subnet group
* `subnet_ids` (Required) List of VPC Subnet IDs for the cache subnet group
## Attributes Reference