Commit 05dc78f2 authored by Chris Merrett's avatar Chris Merrett

Add role session duration maxiumum of 12 hours

parent 6fd8fbb5
Pipeline #4983 passed with stage
in 17 seconds
......@@ -58,6 +58,7 @@ resource "aws_iam_role_policy_attachment" "masters_service_policy" {
resource "aws_iam_role" "admin" {
name = "${var.cluster_name}-eks-kubernetes-admin"
max_session_duration = 43200
assume_role_policy = "${data.aws_iam_policy_document.admin.json}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment