Skip to content

Commit

Permalink
feat(users): lateinit skip for required actions and temp password
Browse files Browse the repository at this point in the history
  • Loading branch information
Breee committed Sep 12, 2024
1 parent 9818cd9 commit 811a1e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/user/v1alpha1/zz_user_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions config/user/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ import "github.com/crossplane/upjet/pkg/config"
func Configure(p *config.Provider) {
p.AddResourceConfigurator("keycloak_user", func(r *config.Resource) {
r.ShortGroup = "user"

r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{"required_actions", "initial_password.value", "initial_password.value", "initial_password.temporary"},
}


})

p.AddResourceConfigurator("keycloak_user_groups", func(r *config.Resource) {
Expand Down

0 comments on commit 811a1e4

Please sign in to comment.