-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Managing Service Quotas #9118
Comments
Reference: #9118 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAwsServiceQuotasServiceQuota_basic (14.35s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- SKIP: TestAccAwsServiceQuotasServiceQuota_basic (2.51s) resource_aws_servicequotas_service_quota_test.go:138: skipping acceptance testing: RequestError: send request failed caused by: Post https://servicequotas.us-gov-west-1.amazonaws.com/: dial tcp: lookup servicequotas.us-gov-west-1.amazonaws.com: no such host ```
Reference: #9118 Output from acceptance testing (requesting increase of t3.nano and t3.micro limits in testing account): ``` export SERVICEQUOTAS_INCREASE_ON_CREATE_QUOTA_CODE=L-55EB784E export SERVICEQUOTAS_INCREASE_ON_CREATE_SERVICE_CODE=ec2 export SERVICEQUOTAS_INCREASE_ON_CREATE_VALUE=25 export SERVICEQUOTAS_INCREASE_ON_UPDATE_QUOTA_CODE=L-0F0ED007 export SERVICEQUOTAS_INCREASE_ON_UPDATE_SERVICE_CODE=ec2 export SERVICEQUOTAS_INCREASE_ON_UPDATE_VALUE=25 --- PASS: TestAccAwsServiceQuotasServiceQuota_basic (13.83s) --- PASS: TestAccAwsServiceQuotasServiceQuota_Value_IncreaseOnCreate (12.52s) --- PASS: TestAccAwsServiceQuotasServiceQuota_Value_IncreaseOnUpdate (20.00s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- SKIP: TestAccAwsServiceQuotasServiceQuota_basic (2.51s) resource_aws_servicequotas_service_quota_test.go:138: skipping acceptance testing: RequestError: send request failed caused by: Post https://servicequotas.us-gov-west-1.amazonaws.com/: dial tcp: lookup servicequotas.us-gov-west-1.amazonaws.com: no such host ```
Reference: #9118 Output from acceptance testing (requesting increase of t3.nano and t3.micro limits in testing account): ``` export SERVICEQUOTAS_INCREASE_ON_CREATE_QUOTA_CODE=L-55EB784E export SERVICEQUOTAS_INCREASE_ON_CREATE_SERVICE_CODE=ec2 export SERVICEQUOTAS_INCREASE_ON_CREATE_VALUE=25 export SERVICEQUOTAS_INCREASE_ON_UPDATE_QUOTA_CODE=L-0F0ED007 export SERVICEQUOTAS_INCREASE_ON_UPDATE_SERVICE_CODE=ec2 export SERVICEQUOTAS_INCREASE_ON_UPDATE_VALUE=25 --- PASS: TestAccAwsServiceQuotasServiceQuota_basic (13.83s) --- PASS: TestAccAwsServiceQuotasServiceQuota_Value_IncreaseOnCreate (12.52s) --- PASS: TestAccAwsServiceQuotasServiceQuota_Value_IncreaseOnUpdate (20.00s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- SKIP: TestAccAwsServiceQuotasServiceQuota_basic (2.51s) resource_aws_servicequotas_service_quota_test.go:138: skipping acceptance testing: RequestError: send request failed caused by: Post https://servicequotas.us-gov-west-1.amazonaws.com/: dial tcp: lookup servicequotas.us-gov-west-1.amazonaws.com: no such host ```
The new |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
The new Service Quotas service provides a simplified method for requesting quota (limit) increases. Theoretically, Terraform can support this as a resource by submitting the request via the new API and reading back either request values and/or current service quotas (seems preferable!).
A separate feature request is created for managing Service Quotas Quota Request Templates and their associations for Organizations: #9119
New Resource(s)
aws_servicequotas_service_quota
aws_servicequotas_service_quota_increase_request
Potential Terraform Configuration
Option 1: Increase request managing resource
Simply submits quota increases. No lifecycle management for service quotas if they are increased in the future.
Option 2: Service quota managing resource
Manages lifecycle of service quota. Requests quota increase if new value is greater than current value. Value is based on desired value of quota increase request if pending or case opened state, otherwise based on current service quota.
References
GetRequestedServiceQuotaChange
GetServiceQuota
RequestServiceQuotaIncrease
The text was updated successfully, but these errors were encountered: