I have awscli-local installed via pip3 install awscli-local[ver1] and am having issues using the cloudformation package command. It always uses the api as an external process as far as I can tell, because the FORCE_V2 variable is always true? I might be misunderstanding whats going on as im not a python developer.
I tried changing that to False and then got the following error
Traceback (most recent call last):
File "/usr/local/bin/awslocal", line 272, in <module>
main()
File "/usr/local/bin/awslocal", line 98, in main
run_in_process()
File "/usr/local/bin/awslocal", line 196, in run_in_process
if (current_profile['s3'].get('addressing_style') in ['virtual', 'auto']):
TypeError: 'NoneType' object is not subscriptable
Commenting out the offending lines of code allows me to use the tool.
Thanks for reporting @brandonryan . This should be fixed in f81d0d9 - can you please try to upgrade to the latest version (>0.16) and give it another try? Thanks!
I have awscli-local installed via
pip3 install awscli-local[ver1]
and am having issues using the cloudformation package command. It always uses the api as an external process as far as I can tell, because theFORCE_V2
variable is always true? I might be misunderstanding whats going on as im not a python developer.I tried changing that to False and then got the following error
Commenting out the offending lines of code allows me to use the tool.
awscli --version
aws-cli/1.20.45 Python/3.9.7 Darwin/20.6.0 botocore/1.21.45