| Name | Version |
|---|---|
| terraform | ~> 1.0 |
| aws | ~> 5.0 |
| Name | Version |
|---|---|
| aws | 5.100.0 |
No modules.
| Name | Type |
|---|---|
| aws_iam_role.this | resource |
| aws_iam_policy_document.assume_role | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| name | The name of the IAM role. | string |
null |
no |
| name_prefix | The prefix for the IAM role name. | string |
null |
no |
| tags | A map of tags to assign to the IAM role. | map(string) |
{} |
no |
| assume_role_policy | IAM assume role policy statements to include in the trust policy. | list(object({ |
n/a | yes |
| max_session_duration | The maximum session duration (in seconds) for the IAM role. | number |
3600 |
no |
| permission_boundary_arn | The ARN of the policy used to set the permissions boundary for the IAM role. | string |
null |
no |
| path | The path for the IAM role. | string |
null |
no |
| force_detach_policies | Whether to force detachment of policies when deleting the IAM role. | bool |
false |
no |
| description | The description of the IAM role. | string |
null |
no |
| Name | Description |
|---|---|
| role_arn | The ARN of the IAM role. |
| role_name | The name of the IAM role. |
| role_id | The unique ID of the IAM role. |
| role_unique_id | The unique ID of the IAM role. |
| create_date | The creation date of the IAM role. |
| role_tags | The tags applied to the IAM role. |