Update access_groups.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 21s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 21s
This commit is contained in:
@@ -36,13 +36,13 @@ resource "cloudflare_zero_trust_access_policy" "policies" {
|
|||||||
auth_method = "mfa"
|
auth_method = "mfa"
|
||||||
}] : [],
|
}] : [],
|
||||||
|
|
||||||
try(each.value.require_country, false) ? [{
|
try(each.value.require_country, false) == true ? [{
|
||||||
group = {
|
group = {
|
||||||
id = var.policy_groups["country_requirements"]
|
id = var.policy_groups["country_requirements"]
|
||||||
}
|
}
|
||||||
}] : [],
|
}] : [],
|
||||||
|
|
||||||
try(each.value.require_latest_os, false) ? [{
|
try(each.value.require_latest_os, false) == true ? [{
|
||||||
group = {
|
group = {
|
||||||
id = var.policy_groups["latest_os_version_requirements"]
|
id = var.policy_groups["latest_os_version_requirements"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user