Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 20, 2023
1 parent 655fce9 commit e85f190
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
14 changes: 14 additions & 0 deletions examples/cluster-assume-role/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Enable access to assume the cluster admin role

1. copy these files into the directory where the group/role is setup
* policies.eks.tf
* variables.eks.tf
* settings.auto.tfvars
1. add the cluster name(s) to the admin_cluster_list (without the eks- prefix)
1. for IAM users, add the policy ARN to the list of polcies
aws_iam_policy.list_assume_policy.arn
1. for SAML roles, add the policy ARN to the list of polcies
aws_iam_policy.list_assume_policy.arn
1. you may need to add a POLICY line to tf-run.data before the ALL if it doesn't exist
1. tf-run plan (starting at POLICY step)
1. commit/PR
2 changes: 0 additions & 2 deletions examples/cluster-assume-role/group.tf

This file was deleted.

File renamed without changes.
4 changes: 1 addition & 3 deletions examples/cluster-assume-role/settings.auto.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
admin_cluster_list = [
"edl-sa1",
]
admin_cluster_list = []
File renamed without changes.

0 comments on commit e85f190

Please sign in to comment.