Manages an individual Service Quota.
resource "aws_servicequotas_service_quota" "example" {
quota_code = "L-F678F1CE"
service_code = "vpc"
value = 75
}
This resource supports the following arguments:
quota_code
- (Required) Code of the service quota to track. For example: L-F678F1CE
. Available values can be found with the AWS CLI service-quotas list-service-quotas command.service_code
- (Required) Code of the service to track. For example: vpc
. Available values can be found with the AWS CLI service-quotas list-services command.value
- (Required) Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.This resource exports the following attributes in addition to the arguments above:
adjustable
- Whether the service quota can be increased.arn
- Amazon Resource Name (ARN) of the service quota.default_value
- Default value of the service quota.id
- Service code and quota code, separated by a front slash (/
)quota_name
- Name of the quota.service_name
- Name of the service.usage_metric
- Information about the measurement.
metric_dimensions
- The metric dimensions.
class
resource
service
type
metric_name
- The name of the metric.metric_namespace
- The namespace of the metric.metric_statistic_recommendation
- The metric statistic that AWS recommend you use when determining quota usage.In Terraform v1.5.0 and later, use an import
block to import aws_servicequotas_service_quota
using the service code and quota code, separated by a front slash (/
). For example:
import {
to = aws_servicequotas_service_quota.example
id = "vpc/L-F678F1CE"
}
Using terraform import
, import aws_servicequotas_service_quota
using the service code and quota code, separated by a front slash (/
). For example:
% terraform import aws_servicequotas_service_quota.example vpc/L-F678F1CE