File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,11 @@ def prepare_cmd_args():
122
122
cmd_args = sys .argv
123
123
if endpoint :
124
124
cmd_args .insert (1 , '--endpoint-url=%s' % endpoint )
125
- cmd_args .insert (2 , '--s3-endpoint-url=%s' % endpoint )
126
125
if 'https' in endpoint :
127
- cmd_args .insert (3 , '--no-verify-ssl' )
126
+ cmd_args .insert (2 , '--no-verify-ssl' )
127
+ # TODO: check the logic below and make it more resilient
128
+ if 'cloudformation' in cmd_args and any (cmd in cmd_args for cmd in ['deploy' , 'package' ]):
129
+ cmd_args .insert (2 , '--s3-endpoint-url=%s' % endpoint )
128
130
return list (cmd_args )
129
131
130
132
Original file line number Diff line number Diff line change 6
6
7
7
setup (
8
8
name = 'awscli-local' ,
9
- version = '0.10 ' ,
9
+ version = '0.11 ' ,
10
10
description = 'Thin wrapper around the "aws" command line interface for use with LocalStack' ,
11
11
author = 'Waldemar Hummer' ,
12
12
author_email = 'waldemar.hummer@gmail.com' ,
You can’t perform that action at this time.
0 commit comments