christippett / ssm-parameter-store

A simple Python library for getting values from AWS Systems Manager Parameter Store
MIT License
31 stars 9 forks source link

Documentation specifies incorrect reigon paramater #2

Closed t-pascal closed 5 years ago

t-pascal commented 5 years ago

The docs say to use

store = EC2ParameterStore(region='us-west-2') (depending on where you look, currently master is different than the pages on PyPi.

The correct parameter for boto3 (tested) and for your library is region_name as in

store = EC2ParameterStore(region_name='us-west-2')

t-pascal commented 5 years ago

If you use the incorrect region parameter you will see

client() got an unexpected keyword argument 'region'