Skip to content

Commit

Permalink
provider/openstack: Make Security Groups Computed
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtopjian authored and Derrick Petzold committed Nov 12, 2015
1 parent fe8d70c commit bf75856
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit bf75856

Please sign in to comment.