Skip to content

Commit 448f866

Browse files
authored
[Internal] Generate effective fields based of isServiceProposedIfEmpty (#4282)
## Changes <!-- Summary of your changes that are easy to understand --> This PR introduces a change that uses the new isServiceProposedIfEmpty annotation to generate the TFSDK structs. With this update, only the fields with this annotation will have an EffectiveField combo. Previously, fields that were marked as Computed would automatically get this combo, but that's no longer the case. As a result, most of the EffectiveField combos are now removed. ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] relevant acceptance tests are passing - [ ] using Go SDK Co-authored-by: Omer Lachish <[email protected]>
1 parent cb8fd95 commit 448f866

File tree

6 files changed

+94
-690
lines changed

6 files changed

+94
-690
lines changed

internal/service/apps_tf/model.go

Lines changed: 14 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/service/catalog_tf/model.go

Lines changed: 8 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)