Skip to content

Commit

Permalink
Merge pull request #74 from GSA-TTS/set-sandbox-worker-disk
Browse files Browse the repository at this point in the history
Make it easier to pass worker disk size from sandbox module
  • Loading branch information
rahearn authored Jan 14, 2025
2 parents abe4023 + eac09e9 commit f5056df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions sandbox-deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module "sandbox-runner" {
docker_hub_user = var.docker_hub_user
docker_hub_token = var.docker_hub_token
developer_emails = var.developer_emails
worker_disk_size = var.worker_disk_size
worker_egress_allowlist = var.worker_egress_allowlist
allow_ssh = var.allow_ssh
}
3 changes: 3 additions & 0 deletions sandbox-deploy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ variable "docker_hub_token" {
variable "developer_emails" {
type = list(string)
}
variable "worker_disk_size" {
type = string
}
variable "worker_egress_allowlist" {
type = set(string)
}
Expand Down
1 change: 1 addition & 0 deletions sandbox-deploy/vars.tfvars-example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ci_server_token = ""
docker_hub_user = ""
docker_hub_token = ""
developer_emails = []
worker_disk_size = "2G"
worker_egress_allowlist = [
"*.rubygems.org" # comment explaining why this is allowed
]

0 comments on commit f5056df

Please sign in to comment.