Skip to content

Commit f9535bf

Browse files
authored
T-1915 [sources] Add Google Cloud Pub/Sub platform (#34)
1 parent 5b58f07 commit f9535bf

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/data-sources/source.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ This Data Source allows you to look up existing Sources using their table name.
5151
- `fluentd`
5252
- `fly_io`
5353
- `go`
54+
- `google_cloud_pubsub`
5455
- `haproxy`
5556
- `heroku`
5657
- `http`

docs/resources/source.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ This resource allows you to create, modify, and delete your Sources. For more in
3939
- `fluentd`
4040
- `fly_io`
4141
- `go`
42+
- `google_cloud_pubsub`
4243
- `haproxy`
4344
- `heroku`
4445
- `http`

internal/provider/resource_source.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
1414
)
1515

16-
var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_elb", "aws_fargate", "cloudflare_logpush", "cloudflare_worker", "datadog_agent", "digitalocean", "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"}
16+
var platformTypes = []string{"apache2", "aws_cloudwatch", "aws_ecs", "aws_elb", "aws_fargate", "cloudflare_logpush", "cloudflare_worker", "datadog_agent", "digitalocean", "docker", "dokku", "dotnet", "elasticsearch", "erlang", "filebeat", "fluentbit", "fluentd", "fly_io", "go", "google_cloud_pubsub", "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"}
1717

1818
var sourceSchema = map[string]*schema.Schema{
1919
"team_name": {
@@ -70,6 +70,7 @@ var sourceSchema = map[string]*schema.Schema{
7070
- **fluentd**
7171
- **fly_io**
7272
- **go**
73+
- **google_cloud_pubsub**
7374
- **haproxy**
7475
- **heroku**
7576
- **http**

0 commit comments

Comments
 (0)