Skip to content

Commit

Permalink
Added default value to size and initial_user in the instance resource
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro JNM <alejandrojnm@gmail.com>
  • Loading branch information
alejandrojnm committed May 27, 2020
1 parent 549da91 commit 4dfc12d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions civo/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func resourceInstance() *schema.Resource {
"size": {
Type: schema.TypeString,
Optional: true,
Default: "g2.xsmall",
Description: "The name of the size, from the current list, e.g. g2.small (required)",
},
"public_ip_requiered": {
Expand All @@ -52,6 +53,7 @@ func resourceInstance() *schema.Resource {
"initial_user": {
Type: schema.TypeString,
Optional: true,
Default: "civo",
Description: "The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)",
},
"notes": {
Expand Down

0 comments on commit 4dfc12d

Please sign in to comment.