Skip to content

Commit

Permalink
add AmazonSQSFullAccess policy to eks cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa authored Oct 24, 2024
1 parent d12a53f commit a09bbea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module "eks" {
eks_managed_node_group_defaults = {
instance_types = ["t3.medium"]
iam_role_additional_policies = {
"AmazonSQSFullAccess" = "arn:aws:iam::aws:policy/AmazonSQSFullAccess"
"AmazonSQSFullAccess" = "arn:aws:iam::aws:policy/AmazonSQSFullAccess",
"AmazonSNSFullAccess" = "arn:aws:iam::aws:policy/AmazonSNSFullAccess",
}
}

Expand Down Expand Up @@ -61,4 +62,4 @@ resource "helm_release" "metric_server" {
name = "metrics-server"
repository = "https://kubernetes-sigs.github.io/metrics-server"
chart = "metrics-server"
}
}

0 comments on commit a09bbea

Please sign in to comment.