From 562cf596dc4a52878dfb592e5179e921f8a7d826 Mon Sep 17 00:00:00 2001 From: Daisuke Fujita Date: Sun, 28 Jun 2015 16:08:50 +0900 Subject: [PATCH] Make elasticache_subnet_group subnet_ids essential --- builtin/providers/aws/resource_aws_elasticache_subnet_group.go | 3 +-- .../providers/aws/r/elasticache_subnet_group.html.markdown | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/builtin/providers/aws/resource_aws_elasticache_subnet_group.go b/builtin/providers/aws/resource_aws_elasticache_subnet_group.go index 6d1a713f2..3a8533164 100644 --- a/builtin/providers/aws/resource_aws_elasticache_subnet_group.go +++ b/builtin/providers/aws/resource_aws_elasticache_subnet_group.go @@ -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)) diff --git a/website/source/docs/providers/aws/r/elasticache_subnet_group.html.markdown b/website/source/docs/providers/aws/r/elasticache_subnet_group.html.markdown index 16e2ffd17..213987de5 100644 --- a/website/source/docs/providers/aws/r/elasticache_subnet_group.html.markdown +++ b/website/source/docs/providers/aws/r/elasticache_subnet_group.html.markdown @@ -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