-
Notifications
You must be signed in to change notification settings - Fork 92
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
feat: prohibits stacks from having child stacks (non-leaf stacks) #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM + some remarks on changes that seems related to ordering, but not a huge issue to merge them before the rest of the ordering code.
hcl/hcl.go
Outdated
// After is a list of non-duplicated stack entries that must run after the | ||
// current stack runs. | ||
After []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is related to ordering, shouldn't it be only on the order of exec PR ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh gosh
hcl/hcl.go
Outdated
ErrNoTerramateBlock errutil.Error = "no \"terramate\" block found" | ||
ErrMalformedTerramateConfig errutil.Error = "malformed terramate config" | ||
ErrMalformedTerraform errutil.Error = "malformed terraform" | ||
ErrStackInvalidRunOrder errutil.Error = "invalid stack execution order definition" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Order related change, maybe add this on the order of exec PR ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
No description provided.