From 65ff5b327d71f1445a1e2a137667df2af6666e4b Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Wed, 25 Mar 2015 10:14:45 -0500 Subject: [PATCH] upgrade VPC Ids and DB Subnet to be optionally computed --- builtin/providers/aws/resource_aws_db_instance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builtin/providers/aws/resource_aws_db_instance.go b/builtin/providers/aws/resource_aws_db_instance.go index 6e6e84f5b..211400169 100644 --- a/builtin/providers/aws/resource_aws_db_instance.go +++ b/builtin/providers/aws/resource_aws_db_instance.go @@ -140,6 +140,7 @@ func resourceAwsDbInstance() *schema.Resource { "vpc_security_group_ids": &schema.Schema{ Type: schema.TypeSet, Optional: true, + Computed: true, Elem: &schema.Schema{Type: schema.TypeString}, Set: func(v interface{}) int { return hashcode.String(v.(string)) @@ -164,6 +165,7 @@ func resourceAwsDbInstance() *schema.Resource { Type: schema.TypeString, Optional: true, ForceNew: true, + Computed: true, }, "parameter_group_name": &schema.Schema{