From db687ab79444bcd63ab3ac849809445d5c886817 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 25 Jul 2024 11:08:17 -0600 Subject: [PATCH] fixed issue with job codes --- infrastructure/verified-access.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/verified-access.tf b/infrastructure/verified-access.tf index d084e53..7ace40f 100644 --- a/infrastructure/verified-access.tf +++ b/infrastructure/verified-access.tf @@ -100,7 +100,7 @@ resource "aws_verifiedaccess_endpoint" "ztmf_va_ep" { context.ztmf_idm_okta has "email_verified" && context.ztmf_idm_okta.email_verified == true && context.ztmf_idm_okta has "groups" && - context.ztmf_idm_okta.groups.contains("${var.job_code}") + (context.ztmf_idm_okta.groups.contains("ZTMF_SCORING_USER") || context.ztmf_idm_okta.groups.contains("ZTMF_SCORING_USER_DEV")) }; EOT }