Skip to content

Deployment script for Serverside GTM on Cloud Run including auto updates for the Docker images.

Notifications You must be signed in to change notification settings

etolk/terraform_cloud_run_sgtm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverside Google Tag Manager - Terraform Cloud Run Deployment

This Terraform script deploys the serverside Google Tag Manager on Cloud Run within the Google Cloud Platform with various extra features like automated updates and an alerting policy.

Features

  • Uptime Check with Notifications - You will be notified if there is an outage of your SGTM services
  • Docker Image Auto Updates - The SGTM Docker image will be updated automatically once per week (default)
  • Log Exculusion - Logs with the serverity default or notice will be excluded to reduce costs

Getting Started

Quick Start

  1. Clone this repository and make sure you have installed Terraform.
  2. Authenticate with Application Default Credentials - Setup Application Default Credentials.
  3. Change the variables inside terraform.tfvars.example to suit your needs and rename the file to terraform.tfvars. Make sure you have created the SGTM Container already to retrieve the container config.
  4. Run terraform init to initialize the repository and terraform apply the infrastructure will be built on GCP

Check this repo for detailed documentation about the sGTM updater Cloud Function repository.

About

Deployment script for Serverside GTM on Cloud Run including auto updates for the Docker images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 82.1%
  • JavaScript 17.9%