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:
39
Access_Controls-Applications-ssh.tf
Normal file
39
Access_Controls-Applications-ssh.tf
Normal file
@@ -0,0 +1,39 @@
|
||||
# =============================================================================
|
||||
# CLOUDFLARE : Access Controls : Applications
|
||||
# =============================================================================
|
||||
|
||||
#======================================================
|
||||
# SELF-HOSTED APP: DB Server
|
||||
#======================================================
|
||||
|
||||
# Creating the Self-hosted Application for Browser rendering SSH
|
||||
resource "cloudflare_zero_trust_access_application" "cloudflare_app_ssh_browser" {
|
||||
account_id = local.cloudflare_account_id
|
||||
|
||||
type = "ssh"
|
||||
name = var.cloudflare_browser_ssh_app_name
|
||||
app_launcher_visible = true
|
||||
logo_url = "https://cdn.iconscout.com/icon/free/png-256/free-database-icon-download-in-svg-png-gif-file-formats--ui-elements-pack-user-interface-icons-444649.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_ssh
|
||||
}]
|
||||
|
||||
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
|
||||
},
|
||||
{
|
||||
id = cloudflare_zero_trust_access_policy.policies["contractors_browser_rendering"].id
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user