You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lets say you have 2 config files rds.yaml and rds-vpc.yaml
Then lets say you have 4 other config files, each using stack_outputs from each other so they're all linked and one of them is linked to rds-vpc.yaml, thus creating a dependency chain.
If you run this sceptre delete foo/boo/rds , sceptre will greedy match rds-vpc.yaml and will ask you if you'd like to delete EVERYTHING. Which isn't great.
If you run sceptre delete foo/boo/rds.yaml it will of course only delete the rds stack, which did not have any dependencies.
Suggestion: Require full file path for stack config files and do not rely upon greedy pattern matching.
The text was updated successfully, but these errors were encountered:
Lets say you have 2 config files rds.yaml and rds-vpc.yaml
Then lets say you have 4 other config files, each using stack_outputs from each other so they're all linked and one of them is linked to rds-vpc.yaml, thus creating a dependency chain.
If you run this
sceptre delete foo/boo/rds
, sceptre will greedy match rds-vpc.yaml and will ask you if you'd like to delete EVERYTHING. Which isn't great.If you run
sceptre delete foo/boo/rds.yaml
it will of course only delete the rds stack, which did not have any dependencies.Suggestion: Require full file path for stack config files and do not rely upon greedy pattern matching.
The text was updated successfully, but these errors were encountered: