fix example wrong resource name
-resource "aiven_mirror_maker" "mm" {
+resource "aiven_kafka_mirrormaker" "mm" {
project = aiven_project.kafka-mm-project1.project
cloud_name = "google-europe-west1"
plan = "startup-4"
@@ -21,7 +21,7 @@ resource "aiven_service_integration" "i1" {
project = aiven_project.kafka-mm-project1.project
integration_type = "kafka_mirrormaker"
source_service_name = aiven_kafka.source.service_name
- destination_service_name = aiven_mirror_maker.mm.service_name
+ destination_service_name = aiven_kafka_mirrormaker.mm.service_name
kafka_mirrormaker_user_config {
cluster_alias = "source"
@@ -32,7 +32,7 @@ resource "aiven_service_integration" "i2" {
project = aiven_project.kafka-mm-project1.project
integration_type = "kafka_mirrormaker"
source_service_name = aiven_kafka.target.service_name
- destination_service_name = aiven_mirror_maker.mm.service_name
+ destination_service_name = aiven_kafka_mirrormaker.mm.service_name
kafka_mirrormaker_user_config {
cluster_alias = "target"
@@ -41,7 +41,7 @@ resource "aiven_service_integration" "i2" {
resource "aiven_mirrormaker_replication_flow" "f1" {
project = aiven_project.kafka-mm-project1.project
- service_name = aiven_mirror_maker.mm.service_name
+ service_name = aiven_kafka_mirrormaker.mm.service_name
source_cluster = aiven_kafka.source.service_name
target_cluster = aiven_kafka.target.service_name
enable = true
