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:
parent
fa471ddbb5
commit
98a441314b
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue