Provision CDN on GCS in GCP using Terraform
Google Cloud offers CDN(content delivery/distributed network) that can be backed by Cloud Storage, a.k.a GCS.
Terraform supports provisioning CDN in GCP as always.
As well as the previous post, in Terraform, variables should be declared in variables.tf but use locals here instead for simplicity