Skip to content

Commit

Permalink
Merge pull request #2534 from dtan4/ec-subnet-group-subnet-ids
Browse files Browse the repository at this point in the history
Make elasticache_subnet_group subnet_ids as required argument
  • Loading branch information
radeksimko committed Jun 30, 2015
2 parents bc06dea + 562cf59 commit f67410d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f67410d

Please sign in to comment.