Skip to content

Commit

Permalink
Force replace user on organization_id change (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorepanichi authored Feb 13, 2023
1 parent 458c912 commit 519210b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func resourceUser() *schema.Resource {
"organization_id": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: "The organizations that user belongs to.",
ValidateFunc: func(i interface{}, s string) ([]string, []error) {
return validation.StringIsNotEmpty(i, s)
Expand Down

0 comments on commit 519210b

Please sign in to comment.