{"id":15222121,"url":"https://github.com/googlecloudplatform/terraform-google-media-cdn-vod","last_synced_at":"2025-10-20T01:30:37.974Z","repository":{"id":60858245,"uuid":"528326799","full_name":"GoogleCloudPlatform/terraform-google-media-cdn-vod","owner":"GoogleCloudPlatform","description":"Deploys Media CDN video-on-demand","archived":false,"fork":false,"pushed_at":"2024-07-31T20:02:39.000Z","size":81,"stargazers_count":16,"open_issues_count":5,"forks_count":4,"subscribers_count":15,"default_branch":"main","last_synced_at":"2024-12-18T08:41:29.155Z","etag":null,"topics":["cft-terraform","operations"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/GoogleCloudPlatform/media-cdn-vod/google","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-24T08:10:20.000Z","updated_at":"2024-11-03T20:35:06.000Z","dependencies_parsed_at":"2023-01-31T09:16:06.245Z","dependency_job_id":"c44c452f-e446-4a21-8f4b-a93f0e06f3dd","html_url":"https://github.com/GoogleCloudPlatform/terraform-google-media-cdn-vod","commit_stats":{"total_commits":48,"total_committers":5,"mean_commits":9.6,"dds":"0.29166666666666663","last_synced_commit":"2db95830b07c3d74df5d11e63108b51cf6a7d63e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fterraform-google-media-cdn-vod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fterraform-google-media-cdn-vod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fterraform-google-media-cdn-vod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fterraform-google-media-cdn-vod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/terraform-google-media-cdn-vod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237243005,"owners_count":19278060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cft-terraform","operations"],"created_at":"2024-09-28T15:10:39.476Z","updated_at":"2025-10-20T01:30:37.666Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Google Media CDN VOD\n\n\nThis module demonstrates deploying a Media CDN Video on Demand solution. It\ncreates two Cloud Storage buckets:\n\n - `vod-upload-\u003crandom_suffix\u003e`: Upload raw video files here\n - `vod-serving-\u003crandom_suffix\u003e`: Transcoded video serving bucket.\n\nA Google Cloud Function triggers a Transcoder API job convert and package raw\nvideo files uploaded to the `vod-upload`. Transcoded output is written to the\n`vod-serving` bucket.\n\nA Media CDN service and origin is configured to serve the transcoded output.\n\nThe resources/services/activations/deletions that this module will\ncreate/trigger are:\n\n- Two Cloud Storage buckets\n- A Google Cloud Function\n- A Media CDN service and origin\n\n## Usage\n\nBasic usage of this module is as follows:\n\n```hcl\nmodule \"media_cdn_vod\" {\n  source  = \"terraform-google-modules/media_cdn_vod/google\"\n  version = \"~\u003e 0.1\"\n  project_id  = \"\u003cPROJECT ID\u003e\"\n  region = \"us-central1\"\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| enable\\_apis | Whether or not to enable underlying apis in this solution. | `string` | `\"true\"` | no |\n| labels | A map of labels to apply to resources deployed by this blueprint | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"media-cdn-vod\": true\u003cbr\u003e}\u003c/pre\u003e | no |\n| project\\_id | The Project ID to deploy to | `string` | n/a | yes |\n| region | The Compute Region to deploy to | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| media\\_cdn\\_index | VOD landing page URL |\n| media\\_cdn\\_ipv4 | The Media CDN serving address |\n| serving\\_bucket | The VOD serving bucket and Media CDN origin |\n| upload\\_bucket | The VOD upload bucket |\n\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Requirements\n\nThese sections describe requirements for using this module.\n\n### Software\n\nThe following dependencies must be available:\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.1.9\n- [Terraform Provider for GCP][terraform-provider-gcp] plugin \u003e= v4.33\n\n### Service Account\n\nUser or service account credentials with the following roles must be used to\nprovision the resources of this module:\n\n- Storage Admin: `roles/storage.admin`\n\nThe [Project Factory module][project-factory-module] and the\n[IAM module][iam-module] may be used in combination to provision a\nservice account with the necessary roles applied.\n\n### APIs\n\nA project with the following APIs enabled must be used to host the\nresources of this module:\n\n  - Artifact Registry - `artifactregistry.googleapis.com`\n  - Cloud Build API - `cloudbuild.googleapis.com`\n  - Cloud Functions API - `cloudfunctions.googleapis.com`\n  - Compute Engine API - `compute.googleapis.com`\n  - Global Edge Cache Service (Media CDN) - `edgecache.googleapis.com`\n  - Eventarc API - `eventarc.googleapis.com`\n  - Identity and Access Management (IAM) API - `iam.googleapis.com`\n  - Network Services API - `networkservices.googleapis.com`\n  - Cloud Pub/Sub API - `pubsub.googleapis.com`\n  - Cloud Run API - `run.googleapis.com`\n  - Cloud Storage JSON API - `storage-api.googleapis.com`\n  - Transcoder API - `transcoder.googleapis.com`\n\nThe [Project Factory module][project-factory-module] can be used to\nprovision a project with the necessary APIs enabled.\n\n## Contributing\n\nRefer to the [contribution guidelines](./CONTRIBUTING.md) for\ninformation on contributing to this module.\n\n[iam-module]: https://registry.terraform.io/modules/terraform-google-modules/iam/google\n[project-factory-module]: https://registry.terraform.io/modules/terraform-google-modules/project-factory/google\n[terraform-provider-gcp]: https://www.terraform.io/docs/providers/google/index.html\n[terraform]: https://www.terraform.io/downloads.html\n\n## Security Disclosures\n\nPlease see our [security disclosure process](./SECURITY.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fterraform-google-media-cdn-vod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fterraform-google-media-cdn-vod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fterraform-google-media-cdn-vod/lists"}