Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Colin Panisset
2014-12-10 11:16:00 +1100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7003e0a7c8613597ce5f70725b01328b2c4f5154
7003e0a7
1 parent
8fac2981
If there's no profile defined, assume we will use environment variables
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
kappa/__init__.py
kappa/__init__.py
View file @
7003e0a
...
...
@@ -29,7 +29,11 @@ class Kappa(object):
def
__init__
(
self
,
config
):
self
.
config
=
config
self
.
session
=
botocore
.
session
.
get_session
()
# otherwise, assume we'll use environment variables
if
'profile'
in
config
:
self
.
session
.
profile
=
config
[
'profile'
]
else
:
self
.
session
.
profile
=
None
self
.
region
=
config
[
'region'
]
def
create_update_roles
(
self
,
stack_name
,
roles_path
):
...
...
Please
register
or
login
to post a comment