From caa5569e4a83ed9b7038143c5cb9fe5d7ea459c3 Mon Sep 17 00:00:00 2001 From: Ramon Snir Date: Sat, 3 Aug 2024 20:47:48 -0400 Subject: [PATCH] bug fix to env var validation --- internal/provider/environment_variable_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/environment_variable_resource.go b/internal/provider/environment_variable_resource.go index 7c8a9b3..505c737 100644 --- a/internal/provider/environment_variable_resource.go +++ b/internal/provider/environment_variable_resource.go @@ -147,7 +147,7 @@ func (r *environmentVariableResource) Schema(_ context.Context, _ resource.Schem "secret_values": schema.SetNestedAttribute{ Optional: true, Validators: []validator.Set{ - setvalidator.ExactlyOneOf(path.MatchRoot("value")), + setvalidator.ExactlyOneOf(path.MatchRoot("values")), }, NestedObject: schema.NestedAttributeObject{ Attributes: map[string]schema.Attribute{