You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_service_usage_consumer_quota_override" {
source="./modules/google-beta/r/google_service_usage_consumer_quota_override"# dimensions - (optional) is a type of map of stringdimensions={}
# force - (optional) is a type of boolforce=null# limit - (required) is a type of stringlimit=null# metric - (required) is a type of stringmetric=null# override_value - (required) is a type of stringoverride_value=null# project - (optional) is a type of stringproject=null# service - (required) is a type of stringservice=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"dimensions" {
description="(optional) - If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit."type=map(string)
default=null
}
variable"force" {
description="(optional) - If the new quota would decrease the existing quota by more than 10%, the request is rejected.\nIf 'force' is 'true', that safety check is ignored."type=booldefault=null
}
variable"limit" {
description="(required) - The limit on the metric, e.g. '/project/region'."type=string
}
variable"metric" {
description="(required) - The metric that should be limited, e.g. 'compute.googleapis.com/cpus'."type=string
}
variable"override_value" {
description="(required) - The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota)."type=string
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"service" {
description="(required) - The service that the metrics belong to, e.g. 'compute.googleapis.com'."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_service_usage_consumer_quota_override""this" {
# dimensions - (optional) is a type of map of stringdimensions=var.dimensions# force - (optional) is a type of boolforce=var.force# limit - (required) is a type of stringlimit=var.limit# metric - (required) is a type of stringmetric=var.metric# override_value - (required) is a type of stringoverride_value=var.override_value# project - (optional) is a type of stringproject=var.project# service - (required) is a type of stringservice=var.servicedynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}