diff --git a/apis/repo/v1alpha1/zz_repository_terraformed.go b/apis/repo/v1alpha1/zz_repository_terraformed.go index bdcc1de..2a53cb2 100755 --- a/apis/repo/v1alpha1/zz_repository_terraformed.go +++ b/apis/repo/v1alpha1/zz_repository_terraformed.go @@ -124,7 +124,6 @@ func (tr *Repository) LateInitialize(attrs []byte) (bool, error) { opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} opts = append(opts, resource.WithNameFilter("DefaultBranch")) opts = append(opts, resource.WithNameFilter("Private")) - opts = append(opts, resource.WithNameFilter("SecurityAndAnalysis")) li := resource.NewGenericLateInitializer(opts...) return li.LateInitialize(&tr.Spec.ForProvider, params) diff --git a/config/repository/config.go b/config/repository/config.go index 09d89e0..398a614 100644 --- a/config/repository/config.go +++ b/config/repository/config.go @@ -8,11 +8,7 @@ func Configure(p *config.Provider) { r.ShortGroup = "repo" r.LateInitializer = config.LateInitializer{ - IgnoredFields: []string{ - "private", - "default_branch", - "security_and_analysis", - }, + IgnoredFields: []string{"private", "default_branch"}, } }) }