Skip to content

Commit

Permalink
Merge pull request #43 from planetscale/fix-pathmatch
Browse files Browse the repository at this point in the history
mismatch between path match string and field name
  • Loading branch information
aybabtme authored Oct 13, 2023
2 parents 7013faa + 63c22b1 commit eba4591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ Known limitations:
MarkdownDescription: "Name of the service token to use. Alternatively, use `PLANETSCALE_SERVICE_TOKEN_NAME`. Mutually exclusive with `access_token`.",
Optional: true,
Validators: []validator.String{
stringvalidator.ConflictsWith(path.MatchRoot("access_token_name")),
stringvalidator.ConflictsWith(path.MatchRoot("access_token")),
},
},
"service_token": schema.StringAttribute{
MarkdownDescription: "Value of the service token to use. Alternatively, use `PLANETSCALE_SERVICE_TOKEN`. Mutually exclusive with `access_token`.",
Optional: true,
Sensitive: true,
Validators: []validator.String{
stringvalidator.ConflictsWith(path.MatchRoot("access_token_name")),
stringvalidator.ConflictsWith(path.MatchRoot("access_token")),
},
},
},
Expand Down

0 comments on commit eba4591

Please sign in to comment.