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:
commit
f67410db53
|
@ -32,8 +32,7 @@ func resourceAwsElasticacheSubnetGroup() *schema.Resource {
|
||||||
},
|
},
|
||||||
"subnet_ids": &schema.Schema{
|
"subnet_ids": &schema.Schema{
|
||||||
Type: schema.TypeSet,
|
Type: schema.TypeSet,
|
||||||
Optional: true,
|
Required: true,
|
||||||
Computed: true,
|
|
||||||
Elem: &schema.Schema{Type: schema.TypeString},
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||||||
Set: func(v interface{}) int {
|
Set: func(v interface{}) int {
|
||||||
return hashcode.String(v.(string))
|
return hashcode.String(v.(string))
|
||||||
|
|
|
@ -47,7 +47,7 @@ The following arguments are supported:
|
||||||
* `description` – (Required) Description for the cache subnet group
|
* `description` – (Required) Description for the cache subnet group
|
||||||
* `name` – (Required) Name for the cache subnet group. This value is stored as
|
* `name` – (Required) Name for the cache subnet group. This value is stored as
|
||||||
a lowercase string
|
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
|
## Attributes Reference
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue