Update access_applications.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 13s

This commit is contained in:
2025-11-16 13:46:14 +01:00
parent 2fd161842d
commit c63dfd2583

View File

@@ -23,7 +23,7 @@ data "cloudflare_zero_trust_access_application" "example_zero_trust_access_appli
#====================================================== #======================================================
# Creating the Target # Creating the Target
resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_ssh_target" { resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_ssh_target" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
hostname = var.cf_target_ssh_name hostname = var.cf_target_ssh_name
ip = { ip = {
ipv4 = { ipv4 = {
@@ -34,7 +34,7 @@ resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_ssh_target" {
# Creating the infrastructure Application # Creating the infrastructure Application
resource "cloudflare_zero_trust_access_application" "cf_app_ssh_infra" { resource "cloudflare_zero_trust_access_application" "cf_app_ssh_infra" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "infrastructure" type = "infrastructure"
name = var.cf_infra_app_name name = var.cf_infra_app_name
logo_url = "https://upload.wikimedia.org/wikipedia/commons/0/01/Google-cloud-platform.svg" logo_url = "https://upload.wikimedia.org/wikipedia/commons/0/01/Google-cloud-platform.svg"
@@ -117,7 +117,7 @@ resource "cloudflare_zero_trust_access_application" "cf_app_ssh_infra" {
#====================================================== #======================================================
# Creating the Self-hosted Application for Browser rendering SSH # Creating the Self-hosted Application for Browser rendering SSH
resource "cloudflare_zero_trust_access_application" "cf_app_ssh_browser" { resource "cloudflare_zero_trust_access_application" "cf_app_ssh_browser" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "ssh" type = "ssh"
name = var.cf_browser_ssh_app_name name = var.cf_browser_ssh_app_name
app_launcher_visible = true app_launcher_visible = true
@@ -151,7 +151,7 @@ resource "cloudflare_zero_trust_access_application" "cf_app_ssh_browser" {
#====================================================== #======================================================
# Creating the Self-hosted Application for Browser rendering VNC # Creating the Self-hosted Application for Browser rendering VNC
resource "cloudflare_zero_trust_access_application" "cf_app_vnc_browser" { resource "cloudflare_zero_trust_access_application" "cf_app_vnc_browser" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "vnc" type = "vnc"
name = var.cf_browser_vnc_app_name name = var.cf_browser_vnc_app_name
app_launcher_visible = true app_launcher_visible = true
@@ -182,7 +182,7 @@ resource "cloudflare_zero_trust_access_application" "cf_app_vnc_browser" {
#====================================================== #======================================================
# Creating the Self-hosted Application for Competition web application # Creating the Self-hosted Application for Competition web application
resource "cloudflare_zero_trust_access_application" "cf_app_web_competition" { resource "cloudflare_zero_trust_access_application" "cf_app_web_competition" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "self_hosted" type = "self_hosted"
name = var.cf_sensitive_web_app_name name = var.cf_sensitive_web_app_name
app_launcher_visible = true app_launcher_visible = true
@@ -214,7 +214,7 @@ resource "cloudflare_zero_trust_access_application" "cf_app_web_competition" {
#====================================================== #======================================================
# Creating the Self-hosted Application for Administration web application # Creating the Self-hosted Application for Administration web application
resource "cloudflare_zero_trust_access_application" "cf_app_web_intranet" { resource "cloudflare_zero_trust_access_application" "cf_app_web_intranet" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "self_hosted" type = "self_hosted"
name = var.cf_intranet_web_app_name name = var.cf_intranet_web_app_name
app_launcher_visible = true app_launcher_visible = true
@@ -245,7 +245,7 @@ resource "cloudflare_zero_trust_access_application" "cf_app_web_intranet" {
#====================================================== #======================================================
# Creating the Target # Creating the Target
resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_rdp_target" { resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_rdp_target" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
hostname = var.cf_target_rdp_name hostname = var.cf_target_rdp_name
ip = { ip = {
ipv4 = { ipv4 = {
@@ -256,7 +256,7 @@ resource "cloudflare_zero_trust_access_infrastructure_target" "gcp_rdp_target" {
# Domain Controller Browser-Rendered RDP Application # Domain Controller Browser-Rendered RDP Application
resource "cloudflare_zero_trust_access_application" "cf_app_rdp_domain" { resource "cloudflare_zero_trust_access_application" "cf_app_rdp_domain" {
account_id = var.cloudflare_account_id account_id = local.cloudflare_account_id
type = "rdp" type = "rdp"
name = var.cf_browser_rdp_app_name name = var.cf_browser_rdp_app_name
app_launcher_visible = true app_launcher_visible = true