51 lines
2.2 KiB
Markdown
51 lines
2.2 KiB
Markdown
<!-- This readme file is generated with terraform-docs -->
|
|
## Requirements
|
|
|
|
No requirements.
|
|
|
|
## Providers
|
|
|
|
| Name | Version |
|
|
|------|---------|
|
|
| aws | n/a |
|
|
|
|
## Modules
|
|
|
|
No modules.
|
|
|
|
## Resources
|
|
|
|
| Name | Type |
|
|
|------|------|
|
|
| [aws_iam_instance_profile.ip](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource |
|
|
| [aws_iam_policy.p](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
|
|
| [aws_iam_role.r](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
|
|
| [aws_iam_role_policy_attachment.CsiPodIdentity](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
|
|
| [aws_iam_role_policy_attachment.pa](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
|
|
|
|
## Inputs
|
|
|
|
| Name | Description | Type | Default | Required |
|
|
|------|-------------|------|---------|:--------:|
|
|
| attach-managed-policies | List of managed policy arns to attach to the role | `list(string)` | `[]` | no |
|
|
| create-instance-profile | Determines whether instance profile will be created | `bool` | `false` | no |
|
|
| description | Description of IAM role | `string` | n/a | yes |
|
|
| max-session-duration | Max session duration in seconds | `number` | `3600` | no |
|
|
| path | Path of IAM role. Defaults to /Customer/ | `string` | `"/Customer/"` | no |
|
|
| policies | Map of policies to be created and attached | <pre>map(<br/> object(<br/> {<br/> description = string<br/> policy = string<br/> }<br/> )<br/> )</pre> | `{}` | no |
|
|
| role-name | Name of IAM role | `string` | n/a | yes |
|
|
| tags | Tags additional to default tags | `map(string)` | `{}` | no |
|
|
| trusted-entity | AWS service allowed to assume this role or a full assume role policy | `string` | n/a | yes |
|
|
|
|
## Outputs
|
|
|
|
| Name | Description |
|
|
|------|-------------|
|
|
| instance-profile-arn | ARN of IAM instance profile |
|
|
| name | Name of IAM role |
|
|
| profile-name | Name of IAM instance profile |
|
|
| role-arn | IAM role ARN |
|
|
|
|
---
|
|
## Authorship
|
|
This module was developed by xpk. |