diff --git a/builtin/providers/cloudstack/resource_cloudstack_network.go b/builtin/providers/cloudstack/resource_cloudstack_network.go index bde4c4dc2..98a4ebb9a 100644 --- a/builtin/providers/cloudstack/resource_cloudstack_network.go +++ b/builtin/providers/cloudstack/resource_cloudstack_network.go @@ -197,7 +197,6 @@ func resourceCloudStackNetworkRead(d *schema.ResourceData, meta interface{}) err d.Set("display_text", n.Displaytext) d.Set("cidr", n.Cidr) d.Set("gateway", n.Gateway) - d.Set("vlan", n.Vlan) setValueOrID(d, "network_offering", n.Networkofferingname, n.Networkofferingid) setValueOrID(d, "project", n.Project, n.Projectid) diff --git a/website/source/docs/providers/cloudstack/r/network.html.markdown b/website/source/docs/providers/cloudstack/r/network.html.markdown index d2a96699c..21c6f2fee 100644 --- a/website/source/docs/providers/cloudstack/r/network.html.markdown +++ b/website/source/docs/providers/cloudstack/r/network.html.markdown @@ -47,7 +47,8 @@ The following arguments are supported: for this network. * `vlan` - (Optional) The VLAN number (1-4095) the network will use. This might be - required by the Network Offering if specifyVlan=true is set. + required by the Network Offering if specifyVlan=true is set. Only the ROOT + admin can set this value. * `vpc` - (Optional) The name or ID of the VPC to create this network for. Changing this forces a new resource to be created.