Skip to content

Commit

Permalink
Add elasticsearch to supported platforms (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPetr authored Nov 8, 2023
1 parent 37e8256 commit ff20827
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/data-sources/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This Data Source allows you to look up existing Logtail Sources using their tabl
- `docker`
- `dokku`
- `dotnet`
- `elasticsearch`
- `filebeat`
- `fluentbit`
- `fluentd`
Expand Down
1 change: 1 addition & 0 deletions docs/resources/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This resource allows you to create, modify, and delete Logtail Sources. For more
- `docker`
- `dokku`
- `dotnet`
- `elasticsearch`
- `filebeat`
- `fluentbit`
- `fluentd`
Expand Down
3 changes: 2 additions & 1 deletion internal/provider/resource_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_fargate", "cloudflare_worker", "datadog_agent", "docker", "dokku", "dotnet", "filebeat", "fluentbit", "fluentd", "fly_io", "haproxy", "heroku", "http", "java", "javascript", "kubernetes", "logstash", "minio", "mongodb", "mysql", "nginx", "open_telemetry", "php", "postgresql", "prometheus", "python", "rabbitmq", "redis", "render", "rsyslog", "ruby", "syslog-ng", "traefik", "ubuntu", "vector", "vercel_integration"}
var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_fargate", "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", "python", "rabbitmq", "redis", "render", "rsyslog", "ruby", "syslog-ng", "traefik", "ubuntu", "vector", "vercel_integration"}

var sourceSchema = map[string]*schema.Schema{
"id": {
Expand Down Expand Up @@ -46,6 +46,7 @@ var sourceSchema = map[string]*schema.Schema{
- **docker**
- **dokku**
- **dotnet**
- **elasticsearch**
- **filebeat**
- **fluentbit**
- **fluentd**
Expand Down

0 comments on commit ff20827

Please sign in to comment.