Add CF access policy to Money
This commit is contained in:
parent
0f46a89e40
commit
3e12c8a90c
@ -22,6 +22,20 @@ resource "cloudflare_access_application" "money" {
|
||||
]
|
||||
}
|
||||
|
||||
resource "cloudflare_access_policy" "money" {
|
||||
application_id = cloudflare_access_application.money.id
|
||||
zone_id = cloudflare_zone.ahosking_com.id
|
||||
name = "family"
|
||||
precedence = "1"
|
||||
decision = "allow"
|
||||
include {
|
||||
email = ["@ahosking.com"]
|
||||
}
|
||||
require {
|
||||
email = ["@ahosking.com"]
|
||||
}
|
||||
}
|
||||
|
||||
resource "cloudflare_access_application" "movies" {
|
||||
account_id = var.CLOUDFLARE_ACCOUNT_ID
|
||||
name = "movies"
|
||||
|
Loading…
Reference in New Issue
Block a user