Skip to content

ajbosco/terraform-provider-segment

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

terraform-provider-segment

A Terraform provider for Segment

Usage

Create and manage Segment sources

resource "segment_source" "test_source" {
  source_name = "your-source"
  catalog_name = "catalog/sources/javascript"
}

Create and manage Segment destinations

resource "segment_destination" "test_destination" {
  source_name = "test_source"
  destination_name = "google-analytics"
  connection_mode = "CLOUD"
  enabled = false
  configs = [{
      name = "workspaces/your-workspace/sources/your-source/destinations/google-analytics/config/trackingId"
      type = "string"
      value = "your-tracking-id"
  }]
}