Closed jakezhu9 closed 1 year ago
part of https://github.com/kcl-lang/kcl/issues/526
pkg/tools/gen
Add support for nested object when generating kcl schema from terraform schema. Also make a small change to schema.gotmpl to make it better.
schema.gotmpl
1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
part of https://github.com/kcl-lang/kcl/issues/526
2. What is the scope of this PR (e.g. component or file name):
pkg/tools/gen
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
Add support for nested object when generating kcl schema from terraform schema. Also make a small change to
schema.gotmpl
to make it better.4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links: