Download variables.tf from xet-team/privatelink-upload-example: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/xet-team/privatelink-upload-example/resolve/main/variables.tf
- Command line
-
hf download hf://xet-team/privatelink-upload-example/variables.tf
-
curl -L -o variables.tf https://huggingface.co/xet-team/privatelink-upload-example/resolve/main/variables.tf
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 = {} | |
| } | |