Skip to content

Commit

Permalink
IAM support for airflow worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Meyers committed Mar 1, 2024
1 parent 4ecba38 commit ad1d15e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions terraform-unity/modules/terraform-unity-sps-airflow/data.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
data "aws_caller_identity" "current" {}

data "aws_eks_cluster" "cluster" {
name = var.eks_cluster_name
}
Expand Down
3 changes: 0 additions & 3 deletions terraform-unity/modules/terraform-unity-sps-airflow/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,6 @@ resource "kubernetes_ingress_v1" "ogc_processes_api_ingress" {
wait_for_load_balancer = true
}

data "aws_caller_identity" "current" {}


resource "aws_iam_policy" "airflow_worker_policy" {
name = "AirflowWorkerPolicy"
description = "Policy for Airflow Workers to access AWS services"
Expand Down

0 comments on commit ad1d15e

Please sign in to comment.