XciD's picture
XciD HF Staff
Add the S3 API path, trim the prose
56f8d6f verified
Raw History Blame Contribute Delete
1.24 kB
variable "vpc_id" {
description = "VPC your upload clients run in."
type = string
}
variable "subnet_ids" {
description = "One subnet per zone you upload from. Pick by AZ ID, not AZ name: us-east-1a is a different physical zone in every account."
type = list(string)
}
variable "client_cidr_blocks" {
description = "CIDRs allowed to reach the endpoints on 443."
type = list(string)
}
variable "cas_service_name" {
description = "Endpoint service for the hf CLI upload path. Null to skip it."
type = string
default = null
}
variable "s3_service_name" {
description = "Endpoint service for the S3 API path. Null to skip it."
type = string
default = null
}
variable "s3_subnet_ids" {
description = "Subnets for the S3 endpoint. It serves fewer zones than the hf CLI one, so set this when subnet_ids includes a zone it does not cover. Null to reuse subnet_ids."
type = list(string)
default = null
}
variable "service_region" {
description = "Region hosting the services. Null when your VPC is in the same one; set it for a cross-region endpoint."
type = string
default = null
}
variable "tags" {
type = map(string)
default = {}
}