Skip to content

Commit

Permalink
fix: clickhouse example (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
staceysalamon-aiven authored Nov 26, 2024
1 parent 002b314 commit 154b966
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/clickhouse/services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 154b966

Please sign in to comment.