Skip to content

Commit

Permalink
Merge pull request #662 from cloudtools/earlier-default-profile
Browse files Browse the repository at this point in the history
Set default AWS profile earlier
  • Loading branch information
ejholmes committed Sep 26, 2018
2 parents 63b772f + cd3d06d commit 5061480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stacker/commands/stacker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def configure(self, options, **kwargs):
else:
logger.info("Using default AWS provider mode")

session_cache.default_profile = options.profile

config = load_config(
options.config.read(),
environment=options.environment,
validate=True)

session_cache.default_profile = options.profile

options.provider_builder = default.ProviderBuilder(
region=options.region,
interactive=options.interactive,
Expand Down

0 comments on commit 5061480

Please sign in to comment.