Skip to content

Commit

Permalink
fix: clickhouse example
Browse files Browse the repository at this point in the history
  • Loading branch information
staceysalamon-aiven committed Nov 25, 2024
1 parent 2b666b4 commit beec452
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 beec452

Please sign in to comment.