Prep release 2.0.9 (#4007)
* Update implementation coverage * EC2 - Update instance type offerings * IAM - update list of managed policies * Changelog for release 2.0.9 * Instance Type Offerings - fix number of available offerings
This commit is contained in:
parent
6977bba3e1
commit
cbeeefbec9
65 changed files with 4868 additions and 1449 deletions
9
scripts/ec2_get_instance_type_offerings.py
Normal file → Executable file
9
scripts/ec2_get_instance_type_offerings.py
Normal file → Executable file
|
|
@ -1,5 +1,7 @@
|
|||
"""
|
||||
Get InstanceTypeOfferings from AWS
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""Get InstanceTypeOfferings from AWS
|
||||
Stores result in moto/ec2/resources/instance_type_offerings/{location_type}/{region}.json
|
||||
Where {location_type} is one of region/availability-zone/availability-zone-id
|
||||
|
||||
|
|
@ -7,6 +9,7 @@ Note that you will get the following error if a region is not available to you:
|
|||
An error occurred (AuthFailure) when calling the DescribeInstanceTypeOfferings operation:
|
||||
AWS was not able to validate the provided access credentials
|
||||
"""
|
||||
|
||||
import boto3
|
||||
import json
|
||||
import os
|
||||
|
|
@ -60,4 +63,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue