From 154b96676f24737d862da74399a3ef0372925934 Mon Sep 17 00:00:00 2001 From: Stacey Salamon <111294980+staceysalamon-aiven@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:14:25 +0100 Subject: [PATCH] fix: clickhouse example (#1916) --- examples/clickhouse/services.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/clickhouse/services.tf b/examples/clickhouse/services.tf index 0baee721a..bbab3c027 100644 --- a/examples/clickhouse/services.tf +++ b/examples/clickhouse/services.tf @@ -35,7 +35,7 @@ resource "aiven_clickhouse_role" "writer" { # Writer role's privileges resource "aiven_clickhouse_grant" "writer_role" { - project = aiven_clickhouse.dev.project + project = aiven_project.clickhouse_dev.project service_name = aiven_clickhouse.dev.service_name role = aiven_clickhouse_role.writer.role @@ -52,7 +52,7 @@ resource "aiven_clickhouse_grant" "writer_role" { # Grant the writer role to the ETL user resource "aiven_clickhouse_grant" "etl_user" { - project = aiven_clickhouse.dev.project + project = aiven_project.clickhouse_dev.project service_name = aiven_clickhouse.dev.service_name user = aiven_clickhouse_user.etl.username @@ -77,7 +77,7 @@ resource "aiven_clickhouse_role" "reader" { # Reader role's privileges resource "aiven_clickhouse_grant" "reader_role" { - project = aiven_clickhouse.dev.project + project = aiven_project.clickhouse_dev.project service_name = aiven_clickhouse.dev.service_name role = aiven_clickhouse_role.reader.role @@ -89,7 +89,7 @@ resource "aiven_clickhouse_grant" "reader_role" { # Grant the reader role to the Analyst user resource "aiven_clickhouse_grant" "analyst_user" { - project = aiven_clickhouse.dev.project + project = aiven_project.clickhouse_dev.project service_name = aiven_clickhouse.dev.service_name user = aiven_clickhouse_user.analyst.username