Skip to content

Commit

Permalink
Merge pull request #171 from turkenf/z-issue-708
Browse files Browse the repository at this point in the history
Ignore lateinitialize for owner field in group resource
  • Loading branch information
turkenf authored Nov 5, 2024
2 parents b9e09be + 5b9f29b commit f0270ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/groups/v1beta1/zz_group_terraformed.go

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

1 change: 1 addition & 0 deletions apis/groups/v1beta2/zz_group_terraformed.go

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

3 changes: 3 additions & 0 deletions config/groups/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ func Configure(p *config.Provider) {
// We need to override the default group that upjet generated for
// this resource, which would be "azuread"
r.ShortGroup = "groups"
r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{"owners"},
}
})
p.AddResourceConfigurator("azuread_group_member", func(r *config.Resource) {
r.References["group_object_id"] = config.Reference{
Expand Down

0 comments on commit f0270ca

Please sign in to comment.