Skip to content

Commit

Permalink
Remove "move IP" from schema and docs (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
zulh-civo committed Sep 6, 2021
1 parent 2bb4fac commit e7f5333
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion civo/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func resourceInstance() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Default: "create",
Description: "This should be either none, create or `move_ip_from:intances_id` by default is create",
Description: "This should be either 'none' or 'create' (default: 'create')",
},
"network_id": {
Type: schema.TypeString,
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The following arguments are supported:
* `hostname` - (Required) The Instance hostname, if is not declare the provider will generate one for you
* `reverse_dns` - (Optional) A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified).
* `size` - (Optional) The name of the size, from the current list, e.g. g3.k3s.small (required).
* `public_ip_required` - (Optional) This should be either `create`, `none` or `move_ip_from:intances_id`.
* `public_ip_required` - (Optional) This should be either `create` or `none` (default: `create`).
* `network_id` - (Optional) This must be the ID of the network from the network listing (optional; default network used when not specified).
* `template` - (Optional) The ID for the template to use to build the instance.
* `initial_user` - (Optional) The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo).
Expand All @@ -63,7 +63,7 @@ The following attributes are exported:
* `cpu_cores` - Total cpu of the inatance.
* `ram_mb` - Total ram of the instance.
* `disk_gb` - The size of the disk.
* `public_ip_requiered` - This should be either `create`, `none` or `move_ip_from:intances_id`.
* `public_ip_requiered` - This should be either `create` or `none`.
* `network_id` - This will be the ID of the network.
* `template` - The ID for the template to used to build the instance.
* `initial_user` - The name of the initial user created on the server.
Expand All @@ -85,4 +85,4 @@ Instances can be imported using the instance `id`, e.g.

```
terraform import civo_instance.myintance 18bd98ad-1b6e-4f87-b48f-e690b4fd7413
```
```

0 comments on commit e7f5333

Please sign in to comment.