Skip to content

Commit

Permalink
update role name docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johndietz authored Nov 23, 2024
1 parent 9344ad8 commit 935b116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/aws-create-role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ provider "aws" {
resource "aws_iam_role" "assumed_admin" {

# The role name
name = "AssumedAdmin"
name = "KubernetesAdmin"

# The default session time is 1 hour, this set it to 12 hours for convenience. It's less annoying, but less secure, feel free to remove or change!
max_session_duration = 43200

#
# Below is a permissive role not intended for long-term use.
#
# It grants all IAM users of the AWS account the ability to assume the role `AssumedAdmin` (or whatever name you gave it), which we created and give the `AdministratorAccess` policy.
# It grants all IAM users of the AWS account the ability to assume the role `KubernetesAdmin`, which we created and give the `AdministratorAccess` policy.
#
# The value `:root` grants assume to the whole account but you can replace it with your individual IAM ARN, or your role if appropriate.
#
Expand Down

0 comments on commit 935b116

Please sign in to comment.