terraform-provider-snowflake icon indicating copy to clipboard operation
terraform-provider-snowflake copied to clipboard

[Feature]: Roadmap and goals for SDK generator PoC

Open yoiki opened this issue 6 months ago • 2 comments

Company Name

No response

Use Cases or Problem Statement

Hi team,

Are there any defined goals or a roadmap for the SDK generator PoC?

I really like the idea behind the PoC — automatically generating code to handle resource operations seems very promising. That said, I noticed there are a few critical challenges that might need to be addressed first.

I’d love to contribute, and I’d appreciate the opportunity to discuss which areas are most important to focus on.

While the README lists many potential improvements, I personally believe the following areas could have a high impact by reducing the amount of manual post-generation work:

  • Add mapping from DB to plain structs
  • Automatically insert required imports (currently manual)
  • Update outdated auto-generated code for some resources (e.g., api_integration is missing pointer usage for args/returns)

If the goal is to eventually support generating all resources in pkg/resources, I’d be excited to help!

If not much effort is planned around the PoC in the near future, that’s also good to know.

Either way, I’d be happy to discuss what work would be most useful — and hopefully contribute to it. 🙂

Category

category:other

Object type(s)

No response

Proposal

No response

How much impact is this issue causing?

Low

Additional Information

No response

Would you like to implement a fix?

  • [x] Yeah, I'll take it 😎

yoiki avatar May 12 '25 15:05 yoiki

Hey @yoiki. Thanks for creating this issue.

The answer to your question is not that simple. Before I elaborate on the future of the SDK generator, I would like to publicly share the roadmap for the next few months—it will be easier to discuss our vision for the provider and, conversely, the need for certain features of this generator. We plan to add a new roadmap entry this or next week at the latest.

I would also like to clean this README, as we did not incorporate the contents of one of our relatively new internal docs, and grade the needed improvements within the team first.

Would you be willing to wait a few days for a fuller answer?

In the meantime, these two are okay to be worked on:

  • Add mapping from DB to plain structs.
  • Update outdated auto-generated code for some resources.

sfc-gh-asawicki avatar May 12 '25 15:05 sfc-gh-asawicki

@sfc-gh-asawicki Thanks for the thoughtful response!

I appreciate you sharing the plan to publish a roadmap soon — that sounds really helpful, and I’m happy to wait a few more days for a fuller answer.

In the meantime, I’ll start working on the two areas you mentioned (DB to plain struct mapping & updating outdated generated code).

Looking forward to continuing the discussion once the roadmap is out!

yoiki avatar May 13 '25 04:05 yoiki