-
Notifications
You must be signed in to change notification settings - Fork 311
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
greedy pattern matching no longer supported in sceptre==2.4.0 #941
Comments
closing my own ticket as i found that i just needed to add the .yaml extension.
this now works. Should be noted this behavour did seemingly change from |
Glad you managed to move forward @mhaber-tophat - I am like 90% sure we haven't supported |
I think this is a real issue. I noticed that one of my automated deployments broke which worked with ver 2.3.0. I used the command
in ver 2.4.0 it fails with
|
@zaro0508 greedy pattern matching was raised as a concern here: #836 and fixed in #731 Having greedy pattern matching could result in stacks being deleted for a simple typo. I have used greedy pattern matching like you did for convenience, but because it caught people out, I am in favour of the behaviour in |
Maybe there a happy ground that can be reached with the addition of an argument to optionally enable greedy path matching? |
Yeh I was just thinking that Craig I think by default it should be safe but wouldn’t be much work to add a —greedy flag or something like that |
Same issue here. I used to work with that greedy selection so far but now it's gone :( , any ETA for greedy flag, pls? |
@zaro0508 Is this still an issue in your opinion, as you seem to have reopened this back in 2020. |
it's no longer a issue for me. |
hey! currently i use sceptre validate by passing it the the stack path directly like ...
sceptre validate matthaber-dev/infrastructure
with a folder structure looks basically like ...
with Sceptre==2.3.0 this always worked. However, ever since upgrading to sceptre==2.4.0 it no longer does. It now gives me the following error...
If i run the validate on the entire folder it validates fine
its only when wanting to validate a single template does it not work.
Is this an expected behaviour change with 2.4.0 where i can no longer validate a single template by passing the entire path?
The text was updated successfully, but these errors were encountered: