Name | Description | Type | Default | Required |
---|---|---|---|---|
assume_role_policy | Whether to create Iam role. | string |
null |
no |
description | The description of the role. | string |
"" |
no |
enabled | Whether to create Iam role. | bool |
true |
no |
environment | Environment (e.g. prod , dev , staging ). |
string |
"" |
no |
force_detach_policies | The policy that grants an entity permission to assume the role. | bool |
false |
no |
label_order | Label order, e.g. name ,application . |
list(any) |
[ |
no |
managed_policy_arns | Set of exclusive IAM managed policy ARNs to attach to the IAM role | list(any) |
[] |
no |
managedby | ManagedBy, eg 'CloudDrove' | string |
"[email protected]" |
no |
max_session_duration | The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours. | number |
3600 |
no |
name | Name (e.g. app or cluster ). |
string |
"" |
no |
path | The path to the role. | string |
"/" |
no |
permissions_boundary | The ARN of the policy that is used to set the permissions boundary for the role. | string |
"" |
no |
policy | The policy document. | string |
null |
no |
policy_arn | The ARN of the policy you want to apply. | string |
"" |
no |
policy_enabled | Whether to Attach Iam policy with role. | bool |
false |
no |
repository | https://github.com/clouddrove/terraform-aws-iam-role | string |
"" |
no |
Name | Description |
---|---|
arn | The Amazon Resource Name (ARN) specifying the role. |
name | Name of specifying the role. |
policy | The policy document attached to the role. |
role | The name of the role associated with the policy. |
tags | A mapping of tags to assign to the resource. |