Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/garysassano/cdktf-gcp-cron-function

CDKTF app that triggers a Cloud Function at a specified regular interval
https://github.com/garysassano/cdktf-gcp-cron-function

cdk-for-terraform cdktf cdktf-ts cloud-function cloud-functions cron-function gcp google-cloud google-cloud-platform scheduled-function terraform-cdk typescript

Last synced: about 2 months ago
JSON representation

CDKTF app that triggers a Cloud Function at a specified regular interval

Awesome Lists containing this project

README

        

# cdktf-gcp-cron-function

CDKTF app that triggers a Cloud Function at a specified regular interval.

## Prerequisites

- **_GCP:_**
- Must have authenticated with [Application Default Credentials](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#running-terraform-on-your-workstation) in your local environment.
- Must have set the `GCP_PROJECT_ID` and `GCP_REGION` variables in your local environment.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.

## Installation

```sh
npx projen install
```

## Deployment

```sh
npx projen deploy
```

## Cleanup

```sh
npx projen destroy
```

## Architecture Diagram

![Architecture Diagram](./src/assets/arch.svg)