Skip to content

Commit c8d8dc1

Browse files
fix: set vlan in private network
1 parent 75c2635 commit c8d8dc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloudstack/resource_cloudstack_private_gateway.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func resourceCloudStackPrivateGatewayCreate(d *schema.ResourceData, meta interfa
102102
d.Get("netmask").(string),
103103
d.Get("vpc_id").(string),
104104
)
105+
p.SetVlan(d.Get("vlan").(string))
105106

106107
// Retrieve the network_offering ID
107108
if networkofferingid != "" {

0 commit comments

Comments
 (0)