Skip to content

Commit

Permalink
Merge pull request #15 from ashirt-ops/jk-sd
Browse files Browse the repository at this point in the history
uppercase variables to support screwdriver and other build systems
  • Loading branch information
jkennedyvz committed Jul 13, 2023
2 parents a5c1b79 + 4bac863 commit 45a245e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ecs/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ resource "aws_lambda_function" "ocr" {
memory_size = 256
environment {
variables = {
ASHIRT_ACCESS_KEY = var.worker_access_key,
ASHIRT_ACCESS_KEY = var.WORKER_ACCESS_KEY,
ASHIRT_BACKEND_PORT = "443",
ASHIRT_BACKEND_URL = aws_route53_record.api.name,
ASHIRT_SECRET_KEY = var.worker_secret_key
ASHIRT_SECRET_KEY = var.WORKER_SECRET_KEY
}
}
}
4 changes: 2 additions & 2 deletions ecs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ variable "appenv" {
default = "example.com-env"
}
# Service worker API keys added after initial user setup
variable "worker_access_key" {
variable "WORKER_ACCESS_KEY" {
type = string
default = ""
}
variable "worker_secret_key" {
variable "WORKER_SECRET_KEY" {
type = string
default = ""
}
Expand Down

0 comments on commit 45a245e

Please sign in to comment.