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" {
|
resource "cloudflare_access_application" "influx" {
|
||||||
account_id = var.CLOUDFLARE_ACCOUNT_ID
|
account_id = var.CLOUDFLARE_ACCOUNT_ID
|
||||||
name = "influx"
|
name = "influx"
|
||||||
@ -29,10 +38,10 @@ resource "cloudflare_access_policy" "money" {
|
|||||||
precedence = "1"
|
precedence = "1"
|
||||||
decision = "allow"
|
decision = "allow"
|
||||||
include {
|
include {
|
||||||
email = ["@ahosking.com"]
|
email_domain = ["@ahosking.com"]
|
||||||
}
|
}
|
||||||
require {
|
require {
|
||||||
email = ["@ahosking.com"]
|
email_domain = ["@ahosking.com"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user