Skip to content

Commit

Permalink
fixed issue with job codes
Browse files Browse the repository at this point in the history
  • Loading branch information
talentedmrjones committed Jul 25, 2024
1 parent d96f8d3 commit db687ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/verified-access.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit db687ab

Please sign in to comment.