Skip to content

Commit 3e3c42f

Browse files
committed
bug fix to env var validation
1 parent 86f2015 commit 3e3c42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/environment_variable_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (r *environmentVariableResource) Schema(_ context.Context, _ resource.Schem
147147
"secret_values": schema.SetNestedAttribute{
148148
Optional: true,
149149
Validators: []validator.Set{
150-
setvalidator.ExactlyOneOf(path.MatchRoot("value")),
150+
setvalidator.ExactlyOneOf(path.MatchRoot("values")),
151151
},
152152
NestedObject: schema.NestedAttributeObject{
153153
Attributes: map[string]schema.Attribute{

0 commit comments

Comments
 (0)