Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajbosco/terraform-provider-segment
A Terraform provider for Segment
https://github.com/ajbosco/terraform-provider-segment
segment segmentio terraform
Last synced: 3 months ago
JSON representation
A Terraform provider for Segment
- Host: GitHub
- URL: https://github.com/ajbosco/terraform-provider-segment
- Owner: ajbosco
- License: mit
- Created: 2018-12-10T00:55:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T10:20:11.000Z (almost 4 years ago)
- Last Synced: 2024-11-01T07:33:24.302Z (3 months ago)
- Topics: segment, segmentio, terraform
- Language: Go
- Size: 3.12 MB
- Stars: 29
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-segment
A [Terraform](https://www.terraform.io/) provider for [Segment](https://www.segment.com)
## Usage
Create and manage Segment [sources](https://segment.com/docs/sources/)
```
resource "segment_source" "test_source" {
source_name = "your-source"
catalog_name = "catalog/sources/javascript"
}
```Create and manage Segment [destinations](https://segment.com/docs/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"
}]
}
```