Commit 14f88499 authored by LAKostis's avatar LAKostis Committed by Anton Babenko

iam-assumable-role: add description support (#45)

This is based on https://github.com/terraform-aws-modules/terraform-aws-iam/issues/40
parent 552dbf46
......@@ -52,6 +52,7 @@ resource "aws_iam_role" "this" {
name = var.role_name
path = var.role_path
max_session_duration = var.max_session_duration
description = var.role_description
permissions_boundary = var.role_permissions_boundary_arn
......
......@@ -101,3 +101,9 @@ variable "attach_readonly_policy" {
default = false
}
variable "role_description" {
description = "IAM Role description"
type = string
default = ""
}
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