Skip to content

Commit

Permalink
Merge pull request #506 from ytsarev/subscription-late-init
Browse files Browse the repository at this point in the history
Late init fix for Subscription
  • Loading branch information
ytsarev authored Aug 4, 2023
2 parents 21ef1b3 + afb23a8 commit dd1fca8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/azure/v1beta1/zz_generated_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/base/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func Configure(p *config.Provider) {
p.AddResourceConfigurator("azurerm_subscription", func(r *config.Resource) {
r.UseAsync = false
r.ShortGroup = ""
r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{"billing_scope_id", "subscription_id"},
}
})

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

0 comments on commit dd1fca8

Please sign in to comment.