Skip to content

hasfjord/downhaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Downhaven

This is a terraform setup for sending disruptive technologies messages to a bigquery table. This is mostly to test the terraform-provider-dt

Requirements

  • Terraform
  • GCP account
    • Editor permission on the project
    • IAM Workflow Identity Pool Admin permission on the project

Note! these might not be minimal permissions, but they are the ones I have tested with.

  • Disruptive Technologies Service Account
    • With
    • With edit permission on the project or org.

Setup

  1. Clone the repository
  2. Setup the following environment variables:
  • DT_API_KEY_ID - The API key ID for the disruptive technologies service account key
  • DT_API_KEY_SECRET - The API key secret for the disruptive technologies service account key
  • DT_OIDC_EMAIL - The email of DT service account
  1. Add the following to the terraform.tfvars file:
google_project_id = "your-project-id"
dt_project_id = "your-dt-project-id"
dt_organization_id = "your-dt-organization-id"

can also be set as environment variables:

  • TF_VAR_google_project_id
  • TF_VAR_dt_project_id
  • TF_VAR_dt_organization_id
  1. Run terraform init
  2. Run terraform apply

Check bigquery for the table events in the dataset dt_events in the project you specified, sensor events should start appearing in the table. Touch a sensor to generate an event.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published