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

[FEATURE] Split stacks based on resource mutation frequencies. #1878

Open
edikmkoyan opened this issue Sep 20, 2024 · 0 comments
Open

[FEATURE] Split stacks based on resource mutation frequencies. #1878

edikmkoyan opened this issue Sep 20, 2024 · 0 comments
Labels
enhancement New feature or request terramate-cloud

Comments

@edikmkoyan
Copy link

Is your feature request related to a problem? Please describe.
When quantity of the resources in a single stack becomes too big, stack's apply and plan operations inevitably become slow.

Describe the solution you'd like
I'd like terramate cloud to collect stats of resource mutations and calculate ratio of resource versus state mutations. And if it turns out that there are some resources that do not change for a decent number of state changes, suggest the user to split the stack.
If the stack is a connected graph, terramate can render a new HCL that adds data sources and output variables to maintain the consistency of the original graphs in two different stacks.

Describe alternatives you've considered
The alternative is manual refactoring, which everyone understands is required, but almost no one risks it.

Additional context
hashicorp/terraform#35755

@edikmkoyan edikmkoyan added the enhancement New feature or request label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request terramate-cloud
Projects
None yet
Development

No branches or pull requests

2 participants