Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 772 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 772 Bytes

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"
  }]
}