Skip to content

Commit d1a6f00

Browse files
committed
Ignore 'RbacRoleMappings' for AutoFlEx during update.
1 parent 725b9fc commit d1a6f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/eks/capability.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func (r *capabilityResource) Update(ctx context.Context, request resource.Update
329329
if diff.HasChanges() {
330330
clusterName, capabilityName := fwflex.StringValueFromFramework(ctx, new.ClusterName), fwflex.StringValueFromFramework(ctx, new.CapabilityName)
331331
var input eks.UpdateCapabilityInput
332-
response.Diagnostics.Append(fwflex.Expand(ctx, new, &input)...)
332+
response.Diagnostics.Append(fwflex.Expand(ctx, new, &input, fwflex.WithIgnoredFieldNamesAppend("RbacRoleMappings"))...)
333333
if response.Diagnostics.HasError() {
334334
return
335335
}

0 commit comments

Comments
 (0)