Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/resources/vrack_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,4 @@ The following attributes are exported:

* `gateway` - Your gateway
* `ip` - Your IP block
* `zone` - Where you want your block announced on the network
* `region` - See Argument Reference above.
5 changes: 0 additions & 5 deletions ovh/resource_vrack_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ func resourceVrackIp() *schema.Resource {
Computed: true,
Description: "Your IP block",
},
"zone": {
Type: schema.TypeString,
Computed: true,
Description: "Where you want your block announced on the network",
},
},
}
}
Expand Down
2 changes: 0 additions & 2 deletions ovh/types_vrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func (opts *VrackUpdateOpts) FromResource(d *schema.ResourceData) *VrackUpdateOp
type VrackIp struct {
Gateway string `json:"gateway"`
Ip string `json:"ip"`
Zone string `json:"zone"`
Region string `json:"region"`
}

Expand All @@ -53,7 +52,6 @@ func (v VrackIp) ToMap() map[string]interface{} {

obj["gateway"] = v.Gateway
obj["ip"] = v.Ip
obj["zone"] = v.Zone
obj["region"] = v.Region

return obj
Expand Down
1 change: 0 additions & 1 deletion templates/resources/vrack_ip.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ The following attributes are exported:

* `gateway` - Your gateway
* `ip` - Your IP block
* `zone` - Where you want your block announced on the network
* `region` - See Argument Reference above.