Skip to content

Commit

Permalink
Make bors app ID distinct for each env
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Jun 29, 2024
1 parent e2bfce3 commit 77efa8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions terragrunt/accounts/bors-prod/app/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ include {

inputs = {
domain = "bors-prod.rust-lang.net"
gh_app_id = "278306"
}
1 change: 1 addition & 0 deletions terragrunt/accounts/bors-staging/app/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ include {

inputs = {
domain = "bors-staging.rust-lang.net"
gh_app_id = "343095"
}
6 changes: 5 additions & 1 deletion terragrunt/modules/bors/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ resource "aws_ecs_task_definition" "bors" {
environment = [
{
name = "APP_ID"
value = "343095"
value = "${var.gh_app_id}"
},
{
name = "RUST_LOG"
Expand Down Expand Up @@ -494,3 +494,7 @@ resource "aws_vpc_security_group_egress_rule" "rds_egress_anywhere_v6" {
variable "domain" {
description = "domain to use"
}

variable "gh_app_id" {
description = "GitHub App ID"
}

0 comments on commit 77efa8a

Please sign in to comment.