Fix API_KEYS env variable and cert ARN.

This commit is contained in:
Jonathan Bernard 2023-03-11 02:57:36 -06:00
parent bd81739d29
commit 8acac43647
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ resource "aws_ecs_task_definition" "toclerbe" {
]
secrets = [
{
name = "API_KEYS"
name = "TOCLERBE_API_KEYS"
description = "API keys allowed to configure the service.."
valueFrom = "${aws_secretsmanager_secret.toclerbe.arn}:apiKeys::"
}

View File

@ -42,5 +42,5 @@ resource "aws_lb_listener_rule" "toclerbe" {
resource "aws_lb_listener_certificate" "toclerbe" {
listener_arn = data.terraform_remote_state.jdbsoft.outputs.aws_lb_listener_https.arn
certificate_arn = data.terraform_remote_state.jdbsoft.outputs.aws_acm_certificate_clerbe_arn
certificate_arn = aws_acm_certificate.clerbe.arn
}