Terraform Module to transcode and serve videos via Google Cloud services.
Uses ffmpeg running on Google Cloud Functions for the transcoding process.
work in progress
Minimal setup:
- Create a Google Cloud project and service account
- Add the module to your main.tf
- Adjust the variables of the module to your needs
# main.tf
module "video-transcoding" {
source = "simonknittel/video-transcoding/google"
version = "0.1.0"
project = ""
region = "europe-west3"
location = "EUROPE-WEST3"
service_account = "serviceAccount:???@???.iam.gserviceaccount.com"
video_input_bucket = ""
video_output_bucket = ""
function_sources_bucket = ""
function_name = ""
}
See examples directory for more examples.