Created
May 18, 2021 01:31
-
-
Save bashtoni/d429a15f9c1c5bb5219f5f67fd5797b5 to your computer and use it in GitHub Desktop.
Request a quota increase across all regions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SERVICE_CODE=cloudformation | |
QUOTA_CODE=L-0485CB21 # Number of stacks - find via `aws service-quotas list-service-quotas` or AWS Console | |
DESIRED_VALUE=500 | |
for region in $(aws ec2 describe-regions --query Regions[][RegionName] --output text); do | |
aws service-quotas --region $region request-service-quota-increase \ | |
--service-code $SERVICE_CODE \ | |
--quota-code $QUOTA_CODE \ | |
--desired-value $DESIRED_VALUE | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment