Skip to content

Commit 8c4b3ff

Browse files
authored
chore: Fixed typo in alb_authentication_method (#263)
1 parent 2325e4b commit 8c4b3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ locals {
2525
secret_webhook_key = local.has_secrets || var.atlantis_github_webhook_secret != "" ? var.atlantis_gitlab_user_token != "" ? "ATLANTIS_GITLAB_WEBHOOK_SECRET" : var.atlantis_github_user_token != "" || var.atlantis_github_webhook_secret != "" ? "ATLANTIS_GH_WEBHOOK_SECRET" : "ATLANTIS_BITBUCKET_WEBHOOK_SECRET" : ""
2626

2727
# determine if the alb has authentication enabled, otherwise forward the traffic unauthenticated
28-
alb_authenication_method = length(keys(var.alb_authenticate_oidc)) > 0 ? "authenticate-oidc" : length(keys(var.alb_authenticate_cognito)) > 0 ? "authenticate-cognito" : "forward"
28+
alb_authentication_method = length(keys(var.alb_authenticate_oidc)) > 0 ? "authenticate-oidc" : length(keys(var.alb_authenticate_cognito)) > 0 ? "authenticate-cognito" : "forward"
2929

3030
# ECS - existing or new?
3131
ecs_cluster_id = var.create_ecs_cluster ? module.ecs.ecs_cluster_id : var.ecs_cluster_id
@@ -245,7 +245,7 @@ module "alb" {
245245
port = 443
246246
protocol = "HTTPS"
247247
certificate_arn = var.certificate_arn == "" ? module.acm.acm_certificate_arn : var.certificate_arn
248-
action_type = local.alb_authenication_method
248+
action_type = local.alb_authentication_method
249249
authenticate_oidc = var.alb_authenticate_oidc
250250
authenticate_cognito = var.alb_authenticate_cognito
251251
},

0 commit comments

Comments
 (0)