Skip to content

Commit

Permalink
Merge pull request #125 from Cloud-Architects/newlimit
Browse files Browse the repository at this point in the history
New limits check and filter param added
  • Loading branch information
meshuga authored Jul 6, 2020
2 parents aa60e4c + c4041a4 commit 7f8987a
Show file tree
Hide file tree
Showing 8 changed files with 833 additions and 350 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,19 @@ The configured credentials must be associated to a user or role with proper perm
"amplify:ListApps",
"autoscaling-plans:DescribeScalingPlans",
"medialive:ListChannels",
"medialive:ListInputDevices",
"mediapackage:ListChannels",
"qldb:ListLedgers",
"transcribe:ListVocabularies"
"transcribe:ListVocabularies",
"glue:GetDatabases",
"glue:GetUserDefinedFunctions",
"glue:GetSecurityConfigurations",
"glue:GetTriggers",
"glue:GetCrawlers",
"glue:ListWorkflows",
"glue:ListMLTransforms",
"codeguru-reviewer:ListCodeReviews",
"servicediscovery:ListNamespaces"
],
"Resource": [ "*" ]
}
Expand Down Expand Up @@ -282,9 +292,9 @@ Types of resources mostly cover Terraform types. It is possible to narrow down s
### AWS Limit
It's possible to check resources limits in an account. This script allows check all available services or check only a specific resource.
It's possible to check resources limits across various service in an account. This command implements over 60 limits checks.
With `--services value,value,value` selection, you can narrow down checks to services that you want to check.
With `--services value,value,value` parameter, you can narrow down checks to just services that you want to check.
With `--threshold 0-100` option, you can customize a minimum percentage threshold to start reporting a warning.
Expand All @@ -295,15 +305,20 @@ With `--threshold 0-100` option, you can customize a minimum percentage threshol
* appsync
* autoscaling-plans
* batch
* chime
* codebuild
* codecommit
* codeguru reviewer
* codeguru profiler
* cloudformation
* cloud map
* dynamodb
* ec2
* ecs
* elasticfilesystem
* elasticbeanstalk
* elasticloadbalancing
* glue
* iam
* kms
* mediaconnect
Expand All @@ -318,6 +333,7 @@ With `--threshold 0-100` option, you can customize a minimum percentage threshol
* sns
* transcribe
* translate
* vpc
AWS has a default quota to all services. At the first time that an account is created, AWS apply this default quota to all services.
An administrator can ask to increase the quota value of a certain service via ticket. This command helps administrators detect those issues in advance.
Expand Down
2 changes: 1 addition & 1 deletion cloudiscovery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
print("Python 3.6 or newer is required", file=sys.stderr)
sys.exit(1)

__version__ = "2.1.1"
__version__ = "2.2.0"

AVAILABLE_LANGUAGES = ["en_US", "pt_BR"]
DEFAULT_REGION = "us-east-1"
Expand Down
1 change: 1 addition & 0 deletions cloudiscovery/provider/all/resource/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ def analyze_operation(
client=client,
operation_name=snake_operation_name,
resource_type=resource_type,
filters=None,
)
list_metadata = pages.result_keys[0].parsed
result_key = None
Expand Down
Loading

0 comments on commit 7f8987a

Please sign in to comment.