@@ -85,8 +85,8 @@ func (r *ServiceDeploymentResource) schemaKustomize() schema.SingleNestedAttribu
8585 }
8686}
8787
88- func (r * ServiceDeploymentResource ) schemaConfiguration () schema.ListNestedAttribute {
89- return schema.ListNestedAttribute {
88+ func (r * ServiceDeploymentResource ) schemaConfiguration () schema.SetNestedAttribute {
89+ return schema.SetNestedAttribute {
9090 Optional : true ,
9191 Description : "List of [name, value] secrets used to alter this ServiceDeployment configuration." ,
9292 MarkdownDescription : "List of [name, value] secrets used to alter this ServiceDeployment configuration." ,
@@ -165,7 +165,7 @@ func (r *ServiceDeploymentResource) schemaBindings() schema.SingleNestedAttribut
165165 Description : "Read and write policies of this ServiceDeployment." ,
166166 MarkdownDescription : "Read and write policies of this ServiceDeployment." ,
167167 Attributes : map [string ]schema.Attribute {
168- "read" : schema.ListNestedAttribute {
168+ "read" : schema.SetNestedAttribute {
169169 Optional : true ,
170170 Description : "Read policies of this ServiceDeployment." ,
171171 MarkdownDescription : "Read policies of this ServiceDeployment." ,
@@ -183,7 +183,7 @@ func (r *ServiceDeploymentResource) schemaBindings() schema.SingleNestedAttribut
183183 },
184184 },
185185 },
186- "write" : schema.ListNestedAttribute {
186+ "write" : schema.SetNestedAttribute {
187187 Optional : true ,
188188 Description : "Write policies of this ServiceDeployment." ,
189189 MarkdownDescription : "Write policies of this ServiceDeployment." ,
@@ -214,27 +214,6 @@ func (r *ServiceDeploymentResource) schemaSyncConfig() schema.SingleNestedAttrib
214214 Description : "Settings for advanced tuning of the sync process." ,
215215 MarkdownDescription : "Settings for advanced tuning of the sync process." ,
216216 Attributes : map [string ]schema.Attribute {
217- "diff_normalizer" : schema.SingleNestedAttribute {
218- Optional : true ,
219- Attributes : map [string ]schema.Attribute {
220- "group" : schema.StringAttribute {
221- Optional : true ,
222- },
223- "json_patches" : schema.SetAttribute {
224- ElementType : types .StringType ,
225- Optional : true ,
226- },
227- "kind" : schema.StringAttribute {
228- Optional : true ,
229- },
230- "name" : schema.StringAttribute {
231- Optional : true ,
232- },
233- "namespace" : schema.StringAttribute {
234- Optional : true ,
235- },
236- },
237- },
238217 "namespace_metadata" : schema.SingleNestedAttribute {
239218 Optional : true ,
240219 Attributes : map [string ]schema.Attribute {
0 commit comments