Skip to content

GCP Resources to report the status of completed Dataflow jobs.

Notifications You must be signed in to change notification settings

pangeo-forge/dataflow-status-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataflow-status-monitoring

GCP Resources to report the status of completed Dataflow jobs to a repository dispatch endpoint.

Requirements

  • Terraform
  • A GCP Service Account with project OWNER role + a key file generated for this service account.
  • A GCP project with the necessary services activated. These include:
    • Cloud Function API
    • Cloud Build API
    • Cloud Pub/Sub API
    • Cloud Logging API
    • Secret Manager API

Environment Settings

The Terraform environment variables can be configured with the us of a .tfvars file with the following variables.

credentials_file  = "<Your service account credentials key file path>"
project           = "<Your GCP project id>"
apps_with_secrets = "<JSON mapping of app instance names to their corresponding webhook secrets>"

Deploying the resources

$ cd terraform
$ terraform init
$ terraform plan -out tfplan -var-file=your.tfvars
$ terraform apply tfplan

Development

Requirements

  • Python>=3.9
  • tox

Tests and Linting

$ tox

About

GCP Resources to report the status of completed Dataflow jobs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published