Skip to content

Conversation

@zaro0508
Copy link
Contributor

@zaro0508 zaro0508 commented May 8, 2018

Build does not need access to AWS when run with dump or
outline options so make it run offline for those actions.

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
Copy link
Contributor Author

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.

Copy link
Member

@phobologic phobologic left a 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 !

@phobologic phobologic merged commit 4c58c0b into cloudtools:master May 12, 2018
phobologic added a commit that referenced this pull request May 13, 2018
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.
phobologic added a commit that referenced this pull request May 14, 2018
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.
@phobologic phobologic added this to the 1.4 milestone Jul 1, 2018
phrohdoh pushed a commit to phrohdoh/stacker that referenced this pull request Dec 18, 2018
Build does not need access to AWS when run with `dump` or
`outline` options so make it run offline for those actions.
phrohdoh pushed a commit to phrohdoh/stacker that referenced this pull request Dec 18, 2018
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.
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

Successfully merging this pull request may close these issues.

2 participants