Skip to content

Commit

Permalink
update eks node policy, fix destroy plan
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Sep 23, 2024
1 parent 8e29376 commit 3eab656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
name: "Create terraform destroy plan"
needs: [deploy]
runs-on: ubuntu-latest
environment: dev
steps:
- name: Create plan
uses: hashicorp/tfc-workflows-github/actions/[email protected]
Expand Down
5 changes: 4 additions & 1 deletion modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ module "eks" {
control_plane_subnet_ids = var.private_subnets

eks_managed_node_group_defaults = {
instance_types = ["t3.medium"]
instance_types = ["t3.medium"]
iam_role_additional_policies = {
"AmazonSQSFullAccess" = "arn:aws:iam::aws:policy/AmazonSQSFullAccess"
}
}

eks_managed_node_groups = {
Expand Down

0 comments on commit 3eab656

Please sign in to comment.