|
| 1 | +# iam-assumable-roles |
| 2 | + |
| 3 | +Creates single IAM role which can be assumed by trusted resources using SAML Federated Users. |
| 4 | + |
| 5 | + |
| 6 | +[Creating IAM SAML Identity Providers](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml.html) |
| 7 | +[Enabling SAML 2.0 Federated Users to Access the AWS Management Console](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html) |
| 8 | + |
| 9 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 10 | +## Inputs |
| 11 | + |
| 12 | +| Name | Description | Type | Default | Required | |
| 13 | +|------|-------------|:----:|:-----:|:-----:| |
| 14 | +| admin\_role\_name | IAM role with admin access | string | `"admin"` | no | |
| 15 | +| admin\_role\_path | Path of admin IAM role | string | `"/"` | no | |
| 16 | +| admin\_role\_permissions\_boundary\_arn | Permissions boundary ARN to use for admin role | string | `""` | no | |
| 17 | +| admin\_role\_policy\_arn | Policy ARN to use for admin role | string | `"arn:aws:iam::aws:policy/AdministratorAccess"` | no | |
| 18 | +| admin\_role\_requires\_mfa | Whether admin role requires MFA | string | `"true"` | no | |
| 19 | +| create\_admin\_role | Whether to create admin role | string | `"false"` | no | |
| 20 | +| create\_poweruser\_role | Whether to create poweruser role | string | `"false"` | no | |
| 21 | +| create\_readonly\_role | Whether to create readonly role | string | `"false"` | no | |
| 22 | +| max\_session\_duration | Maximum CLI/API session duration in seconds between 3600 and 43200 | string | `"3600"` | no | |
| 23 | +| poweruser\_role\_name | IAM role with poweruser access | string | `"poweruser"` | no | |
| 24 | +| poweruser\_role\_path | Path of poweruser IAM role | string | `"/"` | no | |
| 25 | +| poweruser\_role\_permissions\_boundary\_arn | Permissions boundary ARN to use for poweruser role | string | `""` | no | |
| 26 | +| poweruser\_role\_policy\_arn | Policy ARN to use for poweruser role | string | `"arn:aws:iam::aws:policy/PowerUserAccess"` | no | |
| 27 | +| poweruser\_role\_requires\_mfa | Whether poweruser role requires MFA | string | `"true"` | no | |
| 28 | +| readonly\_role\_name | IAM role with readonly access | string | `"readonly"` | no | |
| 29 | +| readonly\_role\_path | Path of readonly IAM role | string | `"/"` | no | |
| 30 | +| readonly\_role\_permissions\_boundary\_arn | Permissions boundary ARN to use for readonly role | string | `""` | no | |
| 31 | +| readonly\_role\_policy\_arn | Policy ARN to use for readonly role | string | `"arn:aws:iam::aws:policy/ReadOnlyAccess"` | no | |
| 32 | +| readonly\_role\_requires\_mfa | Whether readonly role requires MFA | string | `"true"` | no | |
| 33 | +| provider\_name | Name of the SAML Provider | string | `""` | yes | |
| 34 | +| provider\_id | ID of the SAML Provider | string | `""` | yes | |
| 35 | +| aws_saml_endpoint | AWS SAML Endpoint | list | `["https://signin.aws.amazon.com/saml"]` | no | |
| 36 | + |
| 37 | +## Outputs |
| 38 | + |
| 39 | +| Name | Description | |
| 40 | +|------|-------------| |
| 41 | +| admin\_iam\_role\_arn | ARN of admin IAM role | |
| 42 | +| admin\_iam\_role\_name | Name of admin IAM role | |
| 43 | +| admin\_iam\_role\_path | Path of admin IAM role | |
| 44 | +| admin\_iam\_role\_requires\_mfa | Whether admin IAM role requires MFA | |
| 45 | +| poweruser\_iam\_role\_arn | ARN of poweruser IAM role | |
| 46 | +| poweruser\_iam\_role\_name | Name of poweruser IAM role | |
| 47 | +| poweruser\_iam\_role\_path | Path of poweruser IAM role | |
| 48 | +| poweruser\_iam\_role\_requires\_mfa | Whether poweruser IAM role requires MFA | |
| 49 | +| readonly\_iam\_role\_arn | ARN of readonly IAM role | |
| 50 | +| readonly\_iam\_role\_name | Name of readonly IAM role | |
| 51 | +| readonly\_iam\_role\_path | Path of readonly IAM role | |
| 52 | +| readonly\_iam\_role\_requires\_mfa | Whether readonly IAM role requires MFA | |
| 53 | + |
| 54 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
0 commit comments