Skip to content

Commit

Permalink
Updating permissions for eks developer to allow non admin edit
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Sep 12, 2024
1 parent 03a5be4 commit b19ac0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/stacks/dpe-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "sage-aws-vpc" {

module "sage-aws-eks" {
source = "spacelift.io/sagebionetworks/sage-aws-eks/aws"
version = "0.5.7"
version = "0.6.0"

cluster_name = var.cluster_name
private_vpc_subnet_ids = module.sage-aws-vpc.private_subnet_ids
Expand Down
2 changes: 1 addition & 1 deletion modules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ locals {
description = "Terraform module for creating an EKS cluster in AWS"
project_root = "modules/sage-aws-eks"
space_id = "root"
version_number = "0.5.7"
version_number = "0.6.0"
}

vpc = {
Expand Down
6 changes: 6 additions & 0 deletions modules/sage-aws-eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ locals {
type = "cluster"
}
}
eks_developer_edit_role = {
policy_arn = "arn:aws:eks::aws:cluster-access-policy/AmazonEKSEditPolicy"
access_scope = {
type = "cluster"
}
}
}
}
}
Expand Down

0 comments on commit b19ac0c

Please sign in to comment.