Commit 98fdcb09 authored by Adrian Horrocks's avatar Adrian Horrocks

changing max session duration to 12 hours

parent 1dc1f8ad
......@@ -25,6 +25,7 @@ data "template_file" "assume_role" {
resource "aws_iam_role" "steamhaus" {
name = "Steamhaus"
max_session_duration = "43200"
assume_role_policy = "${data.template_file.assume_role.rendered}"
lifecycle {
create_before_destroy = true
......@@ -40,4 +41,4 @@ resource "aws_iam_role_policy_attachment" "attach" {
# Outputs
#############################################################################################################
output "role_name" {value = "${aws_iam_role.steamhaus.name}"}
output "role_arn" {value = "${aws_iam_role.steamhaus.arn}"}
\ No newline at end of file
output "role_arn" {value = "${aws_iam_role.steamhaus.arn}"}
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