Update to Email Domain
This commit is contained in:
parent
3e12c8a90c
commit
905c2dfe61
@ -1,3 +1,12 @@
|
||||
resource "cloudflare_access_group" "family" {
|
||||
account_id = var.CLOUDFLARE_ACCOUNT_ID
|
||||
name = "family group"
|
||||
|
||||
include {
|
||||
email_domain = ["@ahosking.com"]
|
||||
}
|
||||
}
|
||||
|
||||
resource "cloudflare_access_application" "influx" {
|
||||
account_id = var.CLOUDFLARE_ACCOUNT_ID
|
||||
name = "influx"
|
||||
@ -29,10 +38,10 @@ resource "cloudflare_access_policy" "money" {
|
||||
precedence = "1"
|
||||
decision = "allow"
|
||||
include {
|
||||
email = ["@ahosking.com"]
|
||||
email_domain = ["@ahosking.com"]
|
||||
}
|
||||
require {
|
||||
email = ["@ahosking.com"]
|
||||
email_domain = ["@ahosking.com"]
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user