Fix API_KEYS env variable and cert ARN.
This commit is contained in:
parent
bd81739d29
commit
8acac43647
@ -43,7 +43,7 @@ resource "aws_ecs_task_definition" "toclerbe" {
|
|||||||
]
|
]
|
||||||
secrets = [
|
secrets = [
|
||||||
{
|
{
|
||||||
name = "API_KEYS"
|
name = "TOCLERBE_API_KEYS"
|
||||||
description = "API keys allowed to configure the service.."
|
description = "API keys allowed to configure the service.."
|
||||||
valueFrom = "${aws_secretsmanager_secret.toclerbe.arn}:apiKeys::"
|
valueFrom = "${aws_secretsmanager_secret.toclerbe.arn}:apiKeys::"
|
||||||
}
|
}
|
||||||
|
@ -42,5 +42,5 @@ resource "aws_lb_listener_rule" "toclerbe" {
|
|||||||
|
|
||||||
resource "aws_lb_listener_certificate" "toclerbe" {
|
resource "aws_lb_listener_certificate" "toclerbe" {
|
||||||
listener_arn = data.terraform_remote_state.jdbsoft.outputs.aws_lb_listener_https.arn
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user