Skip to content

garysassano/cdktf-gcp-functionv2

Repository files navigation

cdktf-gcp-functionv2

CDKTF app that deploys a Cloud Function (2nd Gen) to GCP.

Prerequisites

  • GCP:
    • Must have authenticated with Application Default Credentials in your local environment.
    • Must have set the GCP_PROJECT_ID and GCP_REGION variables in your local environment.
  • Node.js + npm:

Installation

npx projen install

Deployment

npx projen deploy

Cleanup

npx projen destroy