Skip to content
Permalink
fceb570e84
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (30 sloc) 1019 Bytes
// ECS deployment and CI integration of bors.
module "bors" {
source = "../shared/modules/ecs-app"
cluster_config = data.terraform_remote_state.shared.outputs.ecs_cluster_config
env = "prod"
name = "bors"
repo = "rust-lang/homu"
cpu = 1024
memory = 2048
tasks_count = 1
platform_version = "1.4.0"
mount_efs = "/efs"
secrets = {
GITHUB_TOKEN = "/prod/bors/github-token"
GITHUB_CLIENT_ID = "/prod/bors/github-client-id"
GITHUB_CLIENT_SECRET = "/prod/bors/github-client-secret"
HOMU_SSH_KEY = "/prod/bors/ssh-key"
}
computed_secrets = {
for repo in keys(var.repositories) :
"HOMU_WEBHOOK_SECRET_${upper(replace(repo, "-", "_"))}" => aws_ssm_parameter.webhook_secrets[repo].arn
}
expose_http = {
container_port = 80
domains = concat([var.domain_name], var.legacy_domain_names)
health_check_path = "/health"
health_check_interval = 60
health_check_timeout = 50
}
}