Skip to content

Commit

Permalink
L-3189 [sources] Add Go and Erlang (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz authored Oct 23, 2024
1 parent 04e4c50 commit 4173cd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/data-sources/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ This Data Source allows you to look up existing Sources using their table name.
- `dokku`
- `dotnet`
- `elasticsearch`
- `erlang`
- `filebeat`
- `flights`
- `fluentbit`
- `fluentd`
- `fly_io`
- `go`
- `haproxy`
- `heroku`
- `http`
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ This resource allows you to create, modify, and delete your Sources. For more in
- `dokku`
- `dotnet`
- `elasticsearch`
- `erlang`
- `filebeat`
- `flights`
- `fluentbit`
- `fluentd`
- `fly_io`
- `go`
- `haproxy`
- `heroku`
- `http`
Expand Down
4 changes: 3 additions & 1 deletion internal/provider/resource_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)

var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_elb", "aws_fargate", "cloudflare_logpush", "cloudflare_worker", "datadog_agent", "docker", "dokku", "dotnet", "elasticsearch", "filebeat", "fluentbit", "fluentd", "fly_io", "haproxy", "heroku", "http", "java", "javascript", "kubernetes", "logstash", "minio", "mongodb", "mysql", "nginx", "open_telemetry", "php", "postgresql", "prometheus", "prometheus_scrape", "python", "rabbitmq", "redis", "render", "rsyslog", "ruby", "syslog-ng", "traefik", "ubuntu", "vector", "vercel_integration"}
var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_elb", "aws_fargate", "cloudflare_logpush", "cloudflare_worker", "datadog_agent", "docker", "dokku", "dotnet", "elasticsearch", "erlang", "filebeat", "fluentbit", "fluentd", "fly_io", "go", "haproxy", "heroku", "http", "java", "javascript", "kubernetes", "logstash", "minio", "mongodb", "mysql", "nginx", "open_telemetry", "php", "postgresql", "prometheus", "prometheus_scrape", "python", "rabbitmq", "redis", "render", "rsyslog", "ruby", "syslog-ng", "traefik", "ubuntu", "vector", "vercel_integration"}

var sourceSchema = map[string]*schema.Schema{
"team_name": {
Expand Down Expand Up @@ -62,11 +62,13 @@ var sourceSchema = map[string]*schema.Schema{
- **dokku**
- **dotnet**
- **elasticsearch**
- **erlang**
- **filebeat**
- **flights**
- **fluentbit**
- **fluentd**
- **fly_io**
- **go**
- **haproxy**
- **heroku**
- **http**
Expand Down

0 comments on commit 4173cd8

Please sign in to comment.