provider/openstack: Make Security Groups Computed

This commit makes security groups in the openstack_compute_instance_v2
resource computed. This fixes issues where a security group is omitted
which causes the instance to have the "default" group applied. When
re-applying without this patch, an error will occur.
This commit is contained in:
Joe Topjian 2015-11-07 04:01:50 +00:00
parent fa471ddbb5
commit 98a441314b
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ func resourceComputeInstanceV2() *schema.Resource {
Type: schema.TypeSet,
Optional: true,
ForceNew: false,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},