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: 30 days ago
JSON representation
CDKTF app that triggers a Cloud Function at a specified regular interval
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-gcp-cron-function
- Owner: garysassano
- License: apache-2.0
- Created: 2024-03-08T11:57:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-17T04:26:35.000Z (3 months ago)
- Last Synced: 2025-04-17T18:30:44.063Z (3 months ago)
- Topics: cdk-for-terraform, cdktf, cdktf-ts, cloud-function, cloud-functions, cron-function, gcp, google-cloud, google-cloud-platform, scheduled-function, terraform-cdk, typescript
- Language: TypeScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdktf-gcp-cron-function
CDKTF app that triggers a Cloud Function at a specified regular interval.
### Related Apps
- [cdk-aws-cron-function](https://github.com/garysassano/cdk-aws-cron-function) - Uses AWS instead of GCP; built with AWS CDK instead of CDKTF.
## 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.
- **_Terraform:_**
- Must be [installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) in your system.
- **_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
