Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garysassano/cdktf-gcp-functionv2
CDKTF app that deploys a Cloud Function (2nd Gen) to GCP
https://github.com/garysassano/cdktf-gcp-functionv2
cdk-for-terraform cdktf cdktf-ts cloud-function cloud-function-2nd-gen cloudfunctions2 gcf gcp google-cloud google-cloud-function google-cloud-platform terraform-cdk typescript
Last synced: about 2 months ago
JSON representation
CDKTF app that deploys a Cloud Function (2nd Gen) to GCP
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-gcp-functionv2
- Owner: garysassano
- License: apache-2.0
- Created: 2023-07-12T21:52:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-23T05:04:45.000Z (9 months ago)
- Last Synced: 2024-04-23T09:01:55.307Z (9 months ago)
- Topics: cdk-for-terraform, cdktf, cdktf-ts, cloud-function, cloud-function-2nd-gen, cloudfunctions2, gcf, gcp, google-cloud, google-cloud-function, google-cloud-platform, terraform-cdk, typescript
- Language: TypeScript
- Homepage:
- Size: 88.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-functionv2
CDKTF app that deploys a [Cloud Function (2nd Gen)](https://cloud.google.com/blog/products/serverless/cloud-functions-2nd-generation-now-generally-available) to GCP.
## 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
```