There might be a bit of confusion about which config is being used by python-boto. The Homedir .boto file or /etc/boto.cfg or something else. You can test this directly by doing the following:

$ python
Python 2.6.8 (unknown, Mar  9 2014, 22:16:00)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from boto.pyami.config import Config
>>> config = Config()
>>> config.dump()
[DEFAULT]
debug = 0
working_dir = /mnt/pyami

[DynamoDB]
region = eu-west-1

[Credentials]
aws_access_key_id = xxx
aws_secret_access_key = xxx

[Boto]
debug = 1

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden .