Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ The following configuration will modify settings in your Cloudflare account.
resource "cloudflare_zero_trust_tunnel_cloudflared" "gcp_tunnel" {
account_id = var.cloudflare_account_id
name = "Ansible GCP tunnel"
config_src = "cloudflare"
}

# Reads the token used to run the tunnel on the server.
Expand Down Expand Up @@ -146,7 +147,7 @@ The following configuration defines the specifications for the GCP virtual machi
```txt
# Selects the OS for the GCP VM.
data "google_compute_image" "image" {
family = "ubuntu-minimal-2004-lts"
family = "ubuntu-2204-lts"
project = "ubuntu-os-cloud"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ The following configuration will modify settings in your Cloudflare account.
resource "cloudflare_zero_trust_tunnel_cloudflared" "gcp_tunnel" {
account_id = var.cloudflare_account_id
name = "Terraform GCP tunnel"
config_src = "cloudflare"
}

# Reads the token used to run the tunnel on the server.
Expand All @@ -164,7 +165,7 @@ The following configuration will modify settings in your Cloudflare account.
ingress = [
{
hostname = "http_app.${var.cloudflare_zone}"
service = "http://httpbin:8080"
service = "http://httpbin:80"
},
{
service = "http_status:404"
Expand Down Expand Up @@ -247,7 +248,7 @@ The following configuration will modify settings in your Cloudflare account.
config {
ingress_rule {
hostname = "${cloudflare_record.http_app.hostname}"
service = "http://httpbin:8080"
service = "http://httpbin:80"
}
ingress_rule {
service = "http_status:404"
Expand Down Expand Up @@ -305,7 +306,7 @@ The following configuration defines the specifications for the GCP virtual machi
```tf
# OS the server will use
data "google_compute_image" "image" {
family = "ubuntu-minimal-2004-lts"
family = "ubuntu-2204-lts"
project = "ubuntu-os-cloud"
}

Expand Down Expand Up @@ -347,7 +348,7 @@ The following configuration defines the specifications for the GCP virtual machi
```tf
# OS the server will use
data "google_compute_image" "image" {
family = "ubuntu-minimal-2004-lts"
family = "ubuntu-2204-lts"
project = "ubuntu-os-cloud"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = ">= 5.3.0"
version = ">= 5.8.2"
}
google = {
source = "hashicorp/google"
Expand Down
Loading