Skip to content

Instantly share code, notes, and snippets.

View narenst's full-sized avatar

Naren Thiagarajan narenst

View GitHub Profile
@narenst
narenst / quota.py
Created August 13, 2019 19:00
programmatically view and increase aws quota using boto3
import argparse
import boto3
def get_value_for_quota_name(quotas, quota_name):
for quota in quotas:
if quota['QuotaName'] == quota_name:
return quota['Value'], quota['QuotaCode']
return None, None