All Modules
GCPCompute

Cloud CDN

Cloud CDN with Cloud Storage backend, HTTPS load balancer, and caching

Usage

module "cloud_cdn" {
  source = "github.com/fencepencil/gcp-modules//cloud-cdn"

  project_id = "<project_id>"
  name = "<name>"
  bucket_name = "<bucket_name>"

  tags = var.tags
}

Inputs (5)

NameTypeDescriptionDefaultRequired
project_idstringGCP project IDyes
namestringName prefix for resourcesyes
bucket_namestringGCS bucket nameyes
ssl_certificatestringSSL certificate self linknullno
default_ttlnumberDefault CDN cache TTL3600no

Outputs (4)

NameDescription
bucket_nameName of the GCS bucket
bucket_urlURL of the GCS bucket
cdn_backend_idID of the CDN backend
url_map_idID of the URL map

More GCP Modules

Browse our full library of GCP infrastructure modules.

View all GCP modules