Update access_rule_groups.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 13s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 13s
This commit is contained in:
@@ -31,20 +31,15 @@ locals {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#==================================================
|
#==================================================
|
||||||
# SAML Rule Groups
|
# Default Rule Groups
|
||||||
#===================================================
|
#===================================================
|
||||||
resource "cloudflare_zero_trust_access_group" "saml_groups" {
|
resource "cloudflare_zero_trust_access_group" "default_groups" {
|
||||||
for_each = local.saml_groups
|
|
||||||
account_id = local.cloudflare_account_id
|
account_id = local.cloudflare_account_id
|
||||||
name = each.value
|
name = "default group"
|
||||||
|
|
||||||
include = [{
|
include = {
|
||||||
saml = {
|
email = var.erfi_corp
|
||||||
identity_provider_id = var.cloudflare_okta_identity_provider_id
|
}
|
||||||
attribute_name = "groups"
|
|
||||||
attribute_value = each.value
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#==================================================
|
#==================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user