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)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
name | string | Name prefix for resources | — | yes |
bucket_name | string | GCS bucket name | — | yes |
ssl_certificate | string | SSL certificate self link | null | no |
default_ttl | number | Default CDN cache TTL | 3600 | no |
Outputs (4)
| Name | Description |
|---|---|
bucket_name | Name of the GCS bucket |
bucket_url | URL of the GCS bucket |
cdn_backend_id | ID of the CDN backend |
url_map_id | ID of the URL map |