Skip to content

Commit

Permalink
iam-assumable-role: add description support (terraform-aws-modules#45)
Browse files Browse the repository at this point in the history
This is based on terraform-aws-modules#40
  • Loading branch information
LAKostis authored and antonbabenko committed Jan 9, 2020
1 parent 552dbf4 commit 14f8849
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/iam-assumable-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions modules/iam-assumable-role/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,9 @@ variable "attach_readonly_policy" {
default = false
}

variable "role_description" {
description = "IAM Role description"
type = string
default = ""
}

0 comments on commit 14f8849

Please sign in to comment.