upgrade VPC Ids and DB Subnet to be optionally computed

This commit is contained in:
Clint Shryock 2015-03-25 10:14:45 -05:00
parent 676f3c5bab
commit 65ff5b327d
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,7 @@ func resourceAwsDbInstance() *schema.Resource {
"vpc_security_group_ids": &schema.Schema{ "vpc_security_group_ids": &schema.Schema{
Type: schema.TypeSet, Type: schema.TypeSet,
Optional: true, Optional: 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))
@ -164,6 +165,7 @@ func resourceAwsDbInstance() *schema.Resource {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Computed: true,
}, },
"parameter_group_name": &schema.Schema{ "parameter_group_name": &schema.Schema{