mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Make elasticache_subnet_group subnet_ids essential
This commit is contained in:
parent
e5a9cee5bb
commit
562cf596dc
@ -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
Block a user