From 9f9d3e7388d2b16798c160993043c89f00f50332 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Fri, 13 Dec 2024 13:33:34 +0100 Subject: [PATCH] update airbyte setup --- catalogs/data/airbyte/terraform/aws/iam.tf | 4 ++-- catalogs/data/airbyte/terraform/aws/postgres.tf | 2 +- catalogs/data/airbyte/terraform/aws/s3.tf | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/catalogs/data/airbyte/terraform/aws/iam.tf b/catalogs/data/airbyte/terraform/aws/iam.tf index 5cfb0df0..c8afdc5e 100644 --- a/catalogs/data/airbyte/terraform/aws/iam.tf +++ b/catalogs/data/airbyte/terraform/aws/iam.tf @@ -8,7 +8,7 @@ resource "aws_iam_policy" "airbyte" { resource "aws_iam_user" "airbyte" { name = "${data.plural_cluster.cluster.name}-airbyte" - depends_on = [ plural_cluster.cluster ] + depends_on = [ data.plural_cluster.cluster ] } resource "aws_iam_access_key" "airbyte" { @@ -33,5 +33,5 @@ resource "aws_iam_policy_attachment" "airbyte-user" { users = [aws_iam_user.airbyte.name] policy_arn = aws_iam_policy.airbyte.arn - depends_on = [ plural_cluster.cluster ] + depends_on = [ data.plural_cluster.cluster ] } diff --git a/catalogs/data/airbyte/terraform/aws/postgres.tf b/catalogs/data/airbyte/terraform/aws/postgres.tf index 15065d8c..8c339459 100644 --- a/catalogs/data/airbyte/terraform/aws/postgres.tf +++ b/catalogs/data/airbyte/terraform/aws/postgres.tf @@ -9,7 +9,7 @@ resource "random_password" "password" { data "aws_eks_cluster" "mgmt" { name = data.plural_cluster.cluster.name - depends_on = [ plural_cluster.cluster ] + depends_on = [ data.plural_cluster.cluster ] } data "aws_vpc" "mgmt" { diff --git a/catalogs/data/airbyte/terraform/aws/s3.tf b/catalogs/data/airbyte/terraform/aws/s3.tf index b3f47e57..cba4d9c1 100644 --- a/catalogs/data/airbyte/terraform/aws/s3.tf +++ b/catalogs/data/airbyte/terraform/aws/s3.tf @@ -12,9 +12,3 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "airbyte" { } } } - -data "aws_iam_role" "postgres" { - name = "${data.plural_cluster.cluster.name}-postgres" - - depends_on = [ plural_cluster.cluster ] -}