Update access_groups.tf
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 58s

This commit is contained in:
2025-11-17 16:25:25 +01:00
parent 5136b02380
commit ec2a4b794c

View File

@@ -5,11 +5,11 @@
locals { locals {
# SAML groups from Okta # SAML groups from Okta
saml_groups = { saml_groups = {
contractors = "GL_Contractors" contractors = "Contractors"
infrastructure_admin = "GL_InfrastructureAdmin" infrastructure_admin = "InfrastructureAdmin"
sales_engineering = "GL_SalesEngineering" sales_engineering = "SalesEngineering"
sales = "GL_Sales" sales = "Sales"
it_admin = "GL_ITAdmin" it_admin = "ITAdmin"
} }
# Allowed countries # Allowed countries
@@ -121,7 +121,7 @@ resource "cloudflare_zero_trust_access_group" "contractors_rule_group" {
include = [ include = [
{ {
group = { group = {
id = cloudflare_zero_trust_access_group.saml_groups["gl_contractors"].id id = cloudflare_zero_trust_access_group.saml_groups["contractors"].id
} }
}, },
{ {