The update_regions command generally does not need to be run by a regular Pacu user, but it is important to understand what it does for when you think you might need to use it.
This command runs a bash script that will do the following:
- Use python3 -m pip install --upgrade botocore to update your botocore Python3 library to the latest available version.
- Use python3 -m pip show botocore to locate the botocore installation folder.
- Then, it will read the endpoints.json file that is stored in the botocore folder to parse out what services are available and what regions are supported for those services.
- Then, it will save that parsed data to the ./modules/service_regions.json file in the Pacu folder.
Pacu uses this as its guide ...