Skip to content

Commit

Permalink
adding aws_account
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Oct 30, 2024
1 parent d005fdd commit fb72a8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ module "github-runner" {
desired_count = var.desired_count
server_url = var.server_url
runner_labels = [
var.aws_account,
lower(var.repo_org),
"${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}",
data.aws_caller_identity.current.account_id,
Expand Down
3 changes: 2 additions & 1 deletion varfiles/csvd.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
namespace = "csvd-ghe-runner"
repo_org = "CSVD"
desired_count = 1
desired_count = 3
aws_account = "cvsd-dev-ew"
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ variable "desired_count" {
variable "base_url" {
default = "https://github.e.it.census.gov/"
}

variable aws_account {
type = string
}

0 comments on commit fb72a8e

Please sign in to comment.