Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deployment/modules/aws/tesseract/conformance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ resource "aws_ecs_task_definition" "conformance" {
"--antispam_db_name=${var.antispam_database_name}",
"--inmemory_antispam_cache_size=256k",
"--enable_publication_awaiter=true",
"--roots_remote_fetch_url=${var.roots_remote_fetch_url}",
"--roots_remote_fetch_interval=${var.roots_remote_fetch_interval}",
"-v=2"
],
"logConfiguration" : {
Expand Down
12 changes: 12 additions & 0 deletions deployment/modules/aws/tesseract/conformance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ variable "antispam_database_name" {
description = "The name of the antispam database."
type = string
}

variable "roots_remote_fetch_url" {
description = "URL to fetch trusted roots from."
type = string
default = "https://ccadb.my.salesforce-sites.com/ccadb/RootCACertificatesIncludedByRSReportCSV"
}

variable "roots_remote_fetch_interval" {
description = "Interval between two fetches from roots_fetch_url, e.g. \"1h\"."
type = string
default = "0s"
}
2 changes: 2 additions & 0 deletions deployment/modules/gcp/cloudrun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ resource "google_cloud_run_v2_service" "default" {
"--trace_fraction=${var.trace_fraction}",
"--batch_max_size=${var.batch_max_size}",
"--batch_max_age=${var.batch_max_age}",
"--roots_remote_fetch_url=${var.roots_remote_fetch_url}",
"--roots_remote_fetch_interval=${var.roots_remote_fetch_interval}",
]
ports {
container_port = 6962
Expand Down
12 changes: 12 additions & 0 deletions deployment/modules/gcp/cloudrun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,15 @@ variable "batch_max_age" {
description = "Maximum age of entries in a single sequencing batch."
type = string
}

variable "roots_remote_fetch_url" {
description = "URL to fetch trusted roots from."
type = string
default = "https://ccadb.my.salesforce-sites.com/ccadb/RootCACertificatesIncludedByRSReportCSV"
}

variable "roots_remote_fetch_interval" {
description = "Interval between two fetches from roots_fetch_url, e.g. \"1h\"."
type = string
default = "0s"
}
2 changes: 2 additions & 0 deletions deployment/modules/gcp/gce/tesseract/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ locals {
"-accept_sha1_signing_algorithms=true",
"-rate_limit_old_not_before=${var.rate_limit_old_not_before}",
"-rate_limit_dedup=${var.rate_limit_dedup}",
"-roots_remote_fetch_url=${var.roots_remote_fetch_url}",
"-roots_remote_fetch_interval=${var.roots_remote_fetch_interval}",
var.witness_policy == "" ? "" : "-witness_policy_file=${local.witness_policy_file}",
length(var.additional_signer_private_key_secret_names) == 0 ? "" : join(" ", formatlist("-additional_signer_private_key_secret_name=%s", var.additional_signer_private_key_secret_names))
])
Expand Down
12 changes: 12 additions & 0 deletions deployment/modules/gcp/gce/tesseract/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,15 @@ variable "accepted_roots" {
type = string
default = ""
}

variable "roots_remote_fetch_url" {
description = "URL to fetch trusted roots from."
type = string
default = "https://ccadb.my.salesforce-sites.com/ccadb/RootCACertificatesIncludedByRSReportCSV"
}

variable "roots_remote_fetch_interval" {
description = "Interval between two fetches from roots_fetch_url, e.g. \"1h\"."
type = string
default = "0s"
}
2 changes: 2 additions & 0 deletions deployment/modules/gcp/tesseract/cloudrun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ module "cloudrun" {
trace_fraction = var.trace_fraction
batch_max_age = var.batch_max_age
batch_max_size = var.batch_max_size
roots_remote_fetch_url = var.roots_remote_fetch_url
roots_remote_fetch_interval = var.roots_remote_fetch_interval

depends_on = [
module.storage
Expand Down
10 changes: 10 additions & 0 deletions deployment/modules/gcp/tesseract/cloudrun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,14 @@ variable "log_private_key_suffix" {
default = "-secret"
}

variable "roots_remote_fetch_url" {
description = "URL to fetch trusted roots from."
type = string
default = "https://ccadb.my.salesforce-sites.com/ccadb/RootCACertificatesIncludedByRSReportCSV"
}

variable "roots_remote_fetch_interval" {
description = "Interval between two fetches from roots_fetch_url, e.g. \"1h\"."
type = string
default = "0s"
}
2 changes: 2 additions & 0 deletions deployment/modules/gcp/tesseract/gce/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ module "gce" {
witness_policy = var.witness_policy
accepted_roots = var.accepted_roots
health_checks = var.gce_health_checks
roots_remote_fetch_url = var.roots_remote_fetch_url
roots_remote_fetch_interval = var.roots_remote_fetch_interval

depends_on = [
module.storage
Expand Down
12 changes: 12 additions & 0 deletions deployment/modules/gcp/tesseract/gce/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,15 @@ variable "accepted_roots" {
type = string
default = ""
}

variable "roots_remote_fetch_url" {
description = "URL to fetch trusted roots from."
type = string
default = "https://ccadb.my.salesforce-sites.com/ccadb/RootCACertificatesIncludedByRSReportCSV"
}

variable "roots_remote_fetch_interval" {
description = "Interval between two fetches from roots_fetch_url, e.g. \"1h\"."
type = string
default = "0s"
}
Loading