Skip to content

Commit

Permalink
docs: remove elasticsearch mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Feb 13, 2024
1 parent a85b52d commit b93d0a2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions docs/guides/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Other examples can be found in the [examples](https://github.com/aiven/terraform

- [Getting Started](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/getting-started.tf)
- [Account, projects, teams, and member management](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/account)
- [Elasticsearch deployment and configuration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/elasticsearch)
- [OpenSearch deployment and configuration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/opensearch)
- [Standalone Kafka connect deployment with custom config](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connect)
- [Deploying a ClickHouse service](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse)
- [Deploying ClickHouse with a Kafka source integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse_integrations/kafka_source)
- [Deploying ClickHouse with a PostgreSQL source integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse_integrations/postgres_source)
- [Deploying Kafka with a Prometheus Service Integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_prometheus)
- [Deploying Kafka and Elasticsearch with a Kafka Connect Elasticsearch Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/es_sink)
- [Deploying Kafka and Elasticsearch with a Kafka Connect Mongo Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/mongo_sink)
- [Deploying Kafka and OpenSearch with a Kafka Connect OpenSearch Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/os_sink)
- [Deploying Kafka with a Kafka Connect Mongo Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/mongo_sink)
- [Deploying Kafka with Schema Registry enabled and providing a schema](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_schemas)
- [Deploying Cassandra and forking (cloning the service, config and data) into a new service with a higher plan](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/cassandra_fork)
- [Deploying a Grafana service](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/service)
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/syslog-service-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ page_title: "Creating a Syslog Service Integration"
---

# Creating a Syslog Service Integration
Let's say you have a project in your account and a Kafka service that is throwing all sorts of errors. The Aiven web console has logs built in, you cry! Sure, but you likely need the search power of Elasticsearch or the power of logging services, such as Datadog or Rsyslog servers.
Let's say you have a project in your account and a Kafka service that is throwing all sorts of errors. The Aiven web console has logs built in, you cry! Sure, but you likely need the search power of OpenSearch or the power of logging services, such as Datadog or Rsyslog servers.

In Terraform, we support adding these service integrations and it can be broken down into 2 steps:

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/kafka_connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aiven_kafka_connector" "kafka-os-con1" {
"connector.class" : "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector"
"type.name" = "os-connector"
"name" = "kafka-os-con1"
"connection.url" = aiven_elasticsearch.os-service1.service_uri
"connection.url" = aiven_opensearch.os-service1.service_uri
"connection.username" = aiven_opensearch.os-service1.service_username
"connection.password" = aiven_opensearch.os-service1.service_password
}
Expand Down
4 changes: 2 additions & 2 deletions examples/gcp_marketplace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ resource "aiven_project" "new_project" {
account_id = data.aiven_account.test_account.id # This is required for new marketplace projects
}

resource "aiven_elasticsearch" "elasticsearch" {
resource "aiven_opensearch" "opensearch" {
project = data.aiven_project.existing_project.id
cloud_name = "google-europe-north1"
plan = "gcp-marketplace-startup-4"
service_name = "elasticsearch"
service_name = "opensearch"
}
2 changes: 1 addition & 1 deletion examples/resources/aiven_kafka_connector/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aiven_kafka_connector" "kafka-os-con1" {
"connector.class" : "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector"
"type.name" = "os-connector"
"name" = "kafka-os-con1"
"connection.url" = aiven_elasticsearch.os-service1.service_uri
"connection.url" = aiven_opensearch.os-service1.service_uri
"connection.username" = aiven_opensearch.os-service1.service_username
"connection.password" = aiven_opensearch.os-service1.service_password
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestAccAivenServiceIntegrationEndpoint_basic(t *testing.T) {
testAccCheckAivenServiceEndpointIntegrationAttributes("data.aiven_service_integration_endpoint.endpoint"),
resource.TestCheckResourceAttr(resourceName, "project", os.Getenv("AIVEN_PROJECT_NAME")),
resource.TestCheckResourceAttr(resourceName, "endpoint_name", fmt.Sprintf("test-acc-ie-%s", rName)),
resource.TestCheckResourceAttr(resourceName, "endpoint_type", "external_elasticsearch_logs"),
resource.TestCheckResourceAttr(resourceName, "endpoint_type", "external_opensearch_logs"),
),
},
},
Expand Down Expand Up @@ -110,9 +110,9 @@ resource "aiven_pg" "bar-pg" {
resource "aiven_service_integration_endpoint" "bar" {
project = data.aiven_project.foo.project
endpoint_name = "test-acc-ie-%s"
endpoint_type = "external_elasticsearch_logs"
endpoint_type = "external_opensearch_logs"
external_elasticsearch_logs_user_config {
external_opensearch_logs_user_config {
url = "https://user:[email protected]/"
index_prefix = "test-acc-prefix-%s"
index_days_max = 3
Expand All @@ -122,7 +122,7 @@ resource "aiven_service_integration_endpoint" "bar" {
resource "aiven_service_integration" "bar" {
project = data.aiven_project.foo.project
integration_type = "external_elasticsearch_logs"
integration_type = "external_opensearch_logs"
source_service_name = aiven_pg.bar-pg.service_name
destination_endpoint_id = aiven_service_integration_endpoint.bar.id
}
Expand Down
6 changes: 3 additions & 3 deletions templates/guides/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Other examples can be found in the [examples](https://github.com/aiven/terraform

- [Getting Started](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/getting-started.tf)
- [Account, projects, teams, and member management](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/account)
- [Elasticsearch deployment and configuration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/elasticsearch)
- [OpenSearch deployment and configuration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/opensearch)
- [Standalone Kafka connect deployment with custom config](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connect)
- [Deploying a ClickHouse service](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse)
- [Deploying ClickHouse with a Kafka source integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse_integrations/kafka_source)
- [Deploying ClickHouse with a PostgreSQL source integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/clickhouse_integrations/postgres_source)
- [Deploying Kafka with a Prometheus Service Integration](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_prometheus)
- [Deploying Kafka and Elasticsearch with a Kafka Connect Elasticsearch Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/es_sink)
- [Deploying Kafka and Elasticsearch with a Kafka Connect Mongo Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/mongo_sink)
- [Deploying Kafka and OpenSearch with a Kafka Connect OpenSearch Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/os_sink)
- [Deploying Kafka with a Kafka Connect Mongo Sink connector](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_connectors/mongo_sink)
- [Deploying Kafka with Schema Registry enabled and providing a schema](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/kafka_schemas)
- [Deploying Cassandra and forking (cloning the service, config and data) into a new service with a higher plan](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/cassandra_fork)
- [Deploying a Grafana service](https://github.com/aiven/terraform-provider-aiven/tree/master/examples/service)
Expand Down
2 changes: 1 addition & 1 deletion templates/guides/syslog-service-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ page_title: "Creating a Syslog Service Integration"
---

# Creating a Syslog Service Integration
Let's say you have a project in your account and a Kafka service that is throwing all sorts of errors. The Aiven web console has logs built in, you cry! Sure, but you likely need the search power of Elasticsearch or the power of logging services, such as Datadog or Rsyslog servers.
Let's say you have a project in your account and a Kafka service that is throwing all sorts of errors. The Aiven web console has logs built in, you cry! Sure, but you likely need the search power of OpenSearch or the power of logging services, such as Datadog or Rsyslog servers.

In Terraform, we support adding these service integrations and it can be broken down into 2 steps:

Expand Down

0 comments on commit b93d0a2

Please sign in to comment.