patternpythonMinor
does boto3 have a way to get resource limits from a region?
Viewed 0 times
fromresourceregionwaylimitsgetdoesboto3have
Problem
Right now I am looking for ec2 instances type limits for a given region. I would like to put in place an audit script that tracks our usage vs our limits for a given set of things. Also open to other tools that work well with Python
thanks
thanks
Solution
I'm sure it does, otherwise it wouldn't be the module in use in:
From their setup.py installation script:
Thing is, maybe what you're trying to build is already built in some way or another. Try searching for libraries that has more or less the description of the tool you're trying to build, before starting.
Happy coding!
https://awslimitchecker.readthedocs.io/en/latest/From their setup.py installation script:
requires = [
'boto3>=1.4.6',
'botocore>=1.6.0',
'termcolor>=1.1.0',
'python-dateutil>=2.4.2',
'versionfinder>=0.1.1',
'pytz'
]Thing is, maybe what you're trying to build is already built in some way or another. Try searching for libraries that has more or less the description of the tool you're trying to build, before starting.
Happy coding!
Code Snippets
https://awslimitchecker.readthedocs.io/en/latest/requires = [
'boto3>=1.4.6',
'botocore>=1.6.0',
'termcolor>=1.1.0',
'python-dateutil>=2.4.2',
'versionfinder>=0.1.1',
'pytz'
]Context
StackExchange DevOps Q#4078, answer score: 1
Revisions (0)
No revisions yet.