Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.37 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.37 KB

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.