Commit 44e1b56 1 parent 01341de commit 44e1b56 Copy full SHA for 44e1b56
File tree 1 file changed +5
-0
lines changed
internal/provider/schemas
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ func DeploymentResourceSchemaAttributes() map[string]resourceSchema.Attribute {
121
121
NestedObject : resourceSchema.NestedAttributeObject {
122
122
Attributes : DeploymentEnvironmentVariableResourceAttributes (),
123
123
},
124
+ Validators : []validator.List {
125
+ listvalidator .UniqueValues (),
126
+ listvalidator .UniqueValues (),
127
+ },
124
128
MarkdownDescription : "Deployment environment variables" ,
125
129
Required : true ,
126
130
},
@@ -207,6 +211,7 @@ func DeploymentResourceSchemaAttributes() map[string]resourceSchema.Attribute {
207
211
Validators : []validator.List {
208
212
// Dynamic validation with 'executor' done in the resource.ValidateConfig function
209
213
listvalidator .SizeAtLeast (1 ),
214
+ listvalidator .UniqueValues (),
210
215
},
211
216
},
212
217
"scheduler_au" : resourceSchema.Int64Attribute {
You can’t perform that action at this time.
0 commit comments