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

Paths should be relative to the "sceptre directory" specified in if the "--dir" flag if it is used #9

Open
mike-rsi opened this issue Nov 4, 2021 · 0 comments

Comments

@mike-rsi
Copy link

mike-rsi commented Nov 4, 2021

You can specify the --dir flag when running sceptre from anywhere other than the root of your project. When you do so, any relative paths used with the !file resolver break because the !file resolver looks for files relative to the directory you run sceptre from, not relative to the directory provided by the --dir flag. If --dir is specified, !file should try and load files relative to the path specified there. This will make the Sceptre config files more portable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant