This commit is contained in:
@@ -144,14 +144,14 @@ resource "cloudflare_zero_trust_access_application" "cloudflare_gcp_app_ssh_infr
|
||||
include = [
|
||||
{
|
||||
saml = {
|
||||
identity_provider_id = var.cloudflare_okta_identity_provider_id
|
||||
identity_provider_id = cloudflare_zero_trust_access_identity_provider.authentik_oidc.id
|
||||
attribute_name = "groups"
|
||||
attribute_value = var.okta_infra_admin_saml_group_name
|
||||
}
|
||||
},
|
||||
{
|
||||
saml = {
|
||||
identity_provider_id = var.cloudflare_okta_identity_provider_id
|
||||
identity_provider_id = cloudflare_zero_trust_access_identity_provider.authentik_oidc.id
|
||||
attribute_name = "groups"
|
||||
attribute_value = var.okta_contractors_saml_group_name
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ resource "cloudflare_zero_trust_access_group" "saml_groups" {
|
||||
|
||||
include = [{
|
||||
saml = {
|
||||
identity_provider_id = var.cloudflare_okta_identity_provider_id
|
||||
identity_provider_id = cloudflare_zero_trust_access_identity_provider.authentik_oidc.id
|
||||
attribute_name = "groups"
|
||||
attribute_value = each.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user