Skip to content

teamdatatonic/terraform-gcp-scheduler

Repository files navigation

Terraform Google Cloud Function

This repo contains Terraform resource module for creating Cloud Scheduler on Google Cloud Platform for setting up cron jobs.

This module is available in Datatonic Terraform Registry

Prerequisites

Local Setup

  • install pre-commit: brew install pre-commit.
  • install the git hook scripts: pre-commit install.

Usage

You can go to the examples folder for module usage, the usage of the resource modules could be like this in your own main.tf file:

Requirements

Name Version
terraform =0.14.9
google 3.66.1
google-beta 3.66.1

Providers

No provider.

Inputs

Name Description Type Default Required
cloud_schduler_config Map of configs for the scheduler. any n/a yes
environment The GCP envioment where the scheduler will be created. string n/a yes
project_id (Required) The ID of the project where the cloud scheduler will be created. string n/a yes
region Region where the scheduler job resides. any n/a yes

Outputs

No output.

Contributing

When committing code, use Commitizen. This then allows us to setup semantic versioning using Semantic Release in CICD pipeline.

To install commitizen:

npm install -g commitizen

From now on, when commiting code, instead of git commit, run cz -s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published