splitting the "applications" file
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 4m24s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 4m24s
This commit is contained in:
34
Access_Controls-Applications-vnc.tf
Normal file
34
Access_Controls-Applications-vnc.tf
Normal file
@@ -0,0 +1,34 @@
|
||||
# =============================================================================
|
||||
# CLOUDFLARE : Access Controls : Applications
|
||||
# =============================================================================
|
||||
|
||||
#======================================================
|
||||
# SELF-HOSTED APP: PostgresDB Admin
|
||||
#======================================================
|
||||
# Creating the Self-hosted Application for Browser rendering VNC
|
||||
|
||||
resource "cloudflare_zero_trust_access_application" "cloudflare_app_vnc_browser" {
|
||||
account_id = local.cloudflare_account_id
|
||||
|
||||
type = "vnc"
|
||||
name = var.cloudflare_browser_vnc_app_name
|
||||
app_launcher_visible = true
|
||||
logo_url = "https://blog.zwindler.fr/2015/07/vnc.png"
|
||||
tags = ["engineers"]
|
||||
session_duration = "0s"
|
||||
custom_deny_url = "https://denied.tips-of-mine.org/"
|
||||
custom_non_identity_deny_url = "https://denied.tips-of-mine.org/"
|
||||
|
||||
destinations = [{
|
||||
type = "public"
|
||||
uri = var.cloudflare_subdomain_vnc
|
||||
}]
|
||||
|
||||
allowed_idps = [var.cloudflare_okta_identity_provider_id, var.cloudflare_otp_identity_provider_id]
|
||||
auto_redirect_to_identity = false
|
||||
allow_authenticate_via_warp = false
|
||||
|
||||
policies = [{
|
||||
id = cloudflare_zero_trust_access_policy.policies["employees_browser_rendering"].id
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user