-
Notifications
You must be signed in to change notification settings - Fork 167
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
Run dump and outline actions offline #594
Conversation
Build does not need access to AWS when run with `dump` or `outline` options so make it run offline for those actions.
bool: If access to CF bucket is needed, return True. | ||
|
||
""" | ||
return outline is False and dump is False |
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.
may need to consider package sources as well. if user sets up package sources then I think stacker needs to run in online mode.
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 looks great, thanks @zaro0508 !
594 assumed that `dump` would use `False` as it's default, but since `--dump` is a `str` type, it instead uses `None` when it is not specified on the CLI. The truth is that this is more pythonic anyway, and has the same effect. I can't imagine when this could cause un-expected behaivior.
594 assumed that `dump` would use `False` as it's default, but since `--dump` is a `str` type, it instead uses `None` when it is not specified on the CLI. The truth is that this is more pythonic anyway, and has the same effect. I can't imagine when this could cause un-expected behaivior.
Build does not need access to AWS when run with `dump` or `outline` options so make it run offline for those actions.
594 assumed that `dump` would use `False` as it's default, but since `--dump` is a `str` type, it instead uses `None` when it is not specified on the CLI. The truth is that this is more pythonic anyway, and has the same effect. I can't imagine when this could cause un-expected behaivior.
Build does not need access to AWS when run with
dump
oroutline
options so make it run offline for those actions.