Skip to content

Commit b3aa7a0

Browse files
Make bors app ID distinct for each env
1 parent e2bfce3 commit b3aa7a0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

terragrunt/accounts/bors-prod/app/terragrunt.hcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ include {
99

1010
inputs = {
1111
domain = "bors-prod.rust-lang.net"
12+
gh_app_id = "278306"
1213
}

terragrunt/accounts/bors-staging/app/terragrunt.hcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ include {
99

1010
inputs = {
1111
domain = "bors-staging.rust-lang.net"
12+
gh_app_id = "343095"
1213
}

terragrunt/modules/bors/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ resource "aws_ecs_task_definition" "bors" {
272272
environment = [
273273
{
274274
name = "APP_ID"
275-
value = "343095"
275+
value = "${var.gh_app_id}"
276276
},
277277
{
278278
name = "RUST_LOG"
@@ -494,3 +494,7 @@ resource "aws_vpc_security_group_egress_rule" "rds_egress_anywhere_v6" {
494494
variable "domain" {
495495
description = "domain to use"
496496
}
497+
498+
variable "gh_app_id" {
499+
description = "GitHub App ID"
500+
}

0 commit comments

Comments
 (0)