Skip to content

Commit

Permalink
Merge pull request #16 from mikebryant/m/fix-13
Browse files Browse the repository at this point in the history
fix: Don't late-initialize mutually-exclusive fields
  • Loading branch information
haarchri committed Jul 27, 2023
2 parents 830e113 + bbcdb12 commit 9299520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/service/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ func Configure(p *config.Provider) {

p.AddResourceConfigurator("pagerduty_service_integration", func(r *config.Resource) {

r.LateInitializer = config.LateInitializer{
// type and vendor are mutually-exclusive, so these cannot be late-initialized
IgnoredFields: []string{"type", "vendor"},
}
r.ShortGroup = "service"
r.References = config.References{
"service": {
Expand Down

0 comments on commit 9299520

Please sign in to comment.