Skip to content

Commit

Permalink
Update cloudconnexa_user resource
Browse files Browse the repository at this point in the history
  • Loading branch information
sahaqaa committed Aug 2, 2024
1 parent 77889ef commit 8259223
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cloudconnexa/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ func resourceUser() *schema.Resource {
},
"email": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringLenBetween(0, 120),
Required: true,
ValidateFunc: validation.StringLenBetween(1, 120),
Description: "An invitation to CloudConnexa account will be sent to this email. It will include an initial password and a VPN setup guide.",
},
"first_name": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringLenBetween(0, 20),
Required: true,
ValidateFunc: validation.StringLenBetween(1, 20),
Description: "User's first name.",
},
"last_name": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringLenBetween(0, 20),
Required: true,
ValidateFunc: validation.StringLenBetween(1, 20),
Description: "User's last name.",
},
"group_id": {
Expand Down

0 comments on commit 8259223

Please sign in to comment.