alier350 opened a new pull request, #1821:
URL: https://github.com/apache/libcloud/pull/1821
## Add support for AWS af-south-1 region to S3 storage driver
### Description
We noticed the following error when running our Ansible automation on
af-south-1 VMs on AWS:
```
File
"/usr/local/lib/python3.8/dist-packages/libcloud/storage/drivers/s3.py", line
1134, in __init__
raise ValueError('Invalid or unsupported region: %s' % (region))
ValueError: Invalid or unsupported region: af-south-1
```
The reason for the error is missing configuration for the `af-south-1`
region of AWS in the S3 driver of libcloud, which we have remediated locally
and now raising this PR to contribute back to the project.
### Status
- done, ready for review (Used pylint for linting)
### Checklist (tick everything that applies)
- [x] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]