Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose: streamlined infra generation #4576

Open
Tracked by #4538
weikanglim opened this issue Nov 21, 2024 · 0 comments
Open
Tracked by #4538

compose: streamlined infra generation #4576

weikanglim opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@weikanglim
Copy link
Contributor

The current generation for compose uses a combination of text/template and a context struct that represents the deployment metadata. We want a more scalable model that reduces the generation context for a given resource and streamlines generation.

Some items on the wishlist:

  1. Default flowing of parameters in the Bicep module
  2. Supporting existing resources references vs. AVM module creation
  3. Support partial synth

It should aim to improve readability, code reviews, and authoring experience. An ideal authoring workflow is the ability to ingest a fully synthesized Bicep into scaffolded generation assets and requires fewer manual tweaks.

The minimum requirements are:

  1. Overall cost of development (author time, review time, validation time) for an addition of 1 resource should be logarithmic with respect to number of resources supported in composability for us to scale. Ideally, it's a constant cost -- but the Bicep module constructs may be the limitation here.
@weikanglim weikanglim added this to the Nov 2024 milestone Nov 21, 2024
@weikanglim weikanglim self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant