Skip to content

Commit 675a103

Browse files
Add GSA auth keys to Github secrets.
1 parent b308af4 commit 675a103

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

terraform/bootstrap/locals.tf

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,16 @@ locals {
160160
key = "tf_bastion"
161161
value = "${local.project}-tf-bastion-bootstrap"
162162
}
163+
gsa_auth_development_key = {
164+
encrypted = false
165+
key = "gsa_auth_development_key"
166+
value = var.gsa_auth_development_key
167+
}
168+
gsa_auth_production_key = {
169+
encrypted = false
170+
key = "gsa_auth_production_key"
171+
value = var.gsa_auth_production_key
172+
}
163173
hash_salt = {
164174
encrypted = false
165175
key = "hash_salt"
@@ -262,6 +272,8 @@ locals {
262272

263273
space = local.production_space
264274

275+
stopped = true
276+
265277
## Templates take templated files and fill them in with sensitive data.
266278
templates = []
267279
}
@@ -272,7 +284,3 @@ locals {
272284
## Map of the 'all' environement and the current workspace settings.
273285
env = merge(try(local.envs.all, {}), try(local.envs.bootstrap, {}))
274286
}
275-
276-
output "name" {
277-
value = local.env.passwords
278-
}

terraform/bootstrap/variables.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ variable "github_token" {
3333
sensitive = true
3434
}
3535

36+
variable "gsa_auth_development_key" {
37+
description = "The GSA Auth key for development environments."
38+
type = string
39+
sensitive = true
40+
}
41+
42+
variable "gsa_auth_production_key" {
43+
description = "The GSA Auth key for production environments."
44+
type = string
45+
sensitive = true
46+
}
47+
3648
variable "mtls_port" {
3749
description = "The default port to direct traffic to. Envoy proxy listens on 61443 and redirects to 8080, which the application should listen on."
3850
type = number

0 commit comments

Comments
 (0)