Skip to content

Commit

Permalink
disable dagster secret
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 13, 2024
1 parent 06a734d commit ea9292d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions catalogs/data/dagster/terraform/aws/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ resource "aws_iam_policy_attachment" "dagster-user" {
policy_arn = aws_iam_policy.dagster.arn
}

resource "kubernetes_namespace" "dagster" {
metadata {
name = var.namespace
labels = {
"app.kubernetes.io/managed-by" = "plural"
"app.plural.sh/name" = "dagster"
}
}
}

resource "kubernetes_secret" "dagster_s3_secret" {
metadata {
name = "dagster-aws-env"
namespace = kubernetes_namespace.dagster.id
}

data = {
"AWS_ACCESS_KEY_ID" = aws_iam_access_key.dagster.id
"AWS_SECRET_ACCESS_KEY" = aws_iam_access_key.dagster.secret
}
# resource "kubernetes_namespace" "dagster" {
# metadata {
# name = var.namespace
# labels = {
# "app.kubernetes.io/managed-by" = "plural"
# "app.plural.sh/name" = "dagster"
# }
# }
# }
#
# resource "kubernetes_secret" "dagster_s3_secret" {
# metadata {
# name = "dagster-aws-env"
# namespace = kubernetes_namespace.dagster.id
# }
#
# data = {
# "AWS_ACCESS_KEY_ID" = aws_iam_access_key.dagster.id
# "AWS_SECRET_ACCESS_KEY" = aws_iam_access_key.dagster.secret
# }
}

0 comments on commit ea9292d

Please sign in to comment.