diff --git a/apis/ec2/v1beta1/zz_launchtemplate_terraformed.go b/apis/ec2/v1beta1/zz_launchtemplate_terraformed.go index f66bd86cfe..f46c400fd5 100755 --- a/apis/ec2/v1beta1/zz_launchtemplate_terraformed.go +++ b/apis/ec2/v1beta1/zz_launchtemplate_terraformed.go @@ -118,6 +118,7 @@ func (tr *LaunchTemplate) LateInitialize(attrs []byte) (bool, error) { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + opts = append(opts, resource.WithNameFilter("DefaultVersion")) li := resource.NewGenericLateInitializer(opts...) return li.LateInitialize(&tr.Spec.ForProvider, params) diff --git a/apis/eks/v1beta1/zz_nodegroup_terraformed.go b/apis/eks/v1beta1/zz_nodegroup_terraformed.go index 1cfb9d4168..b7c9990a65 100755 --- a/apis/eks/v1beta1/zz_nodegroup_terraformed.go +++ b/apis/eks/v1beta1/zz_nodegroup_terraformed.go @@ -119,6 +119,7 @@ func (tr *NodeGroup) LateInitialize(attrs []byte) (bool, error) { } opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} opts = append(opts, resource.WithNameFilter("ReleaseVersion")) + opts = append(opts, resource.WithNameFilter("Version")) li := resource.NewGenericLateInitializer(opts...) return li.LateInitialize(&tr.Spec.ForProvider, params)