From 63c22b1c43abc22c745d1a20fd6428c383be2ad8 Mon Sep 17 00:00:00 2001 From: Antoine Grondin Date: Fri, 13 Oct 2023 11:43:24 -0700 Subject: [PATCH] mismatch between path match string and field name --- internal/provider/provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 624b9c0..24b142f 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -81,7 +81,7 @@ 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{ @@ -89,7 +89,7 @@ Known limitations: Optional: true, Sensitive: true, Validators: []validator.String{ - stringvalidator.ConflictsWith(path.MatchRoot("access_token_name")), + stringvalidator.ConflictsWith(path.MatchRoot("access_token")), }, }, },