Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadenlabs/terraform-aws-iam-user
Terraform aws iam user
https://github.com/hadenlabs/terraform-aws-iam-user
aws hadenlabs iam iam-user peru terraform terraform-modules
Last synced: 1 day ago
JSON representation
Terraform aws iam user
- Host: GitHub
- URL: https://github.com/hadenlabs/terraform-aws-iam-user
- Owner: hadenlabs
- License: lgpl-3.0
- Created: 2021-10-09T07:22:26.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-28T03:56:37.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T03:11:27.966Z (about 1 month ago)
- Topics: aws, hadenlabs, iam, iam-user, peru, terraform, terraform-modules
- Language: Go
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: docs/code_of_conduct.md
- Support: docs/support.md
Awesome Lists containing this project
README
[![Latest Release](https://img.shields.io/github/release/hadenlabs/terraform-aws-iam-user)](https://github.com/hadenlabs/terraform-aws-iam-user/releases) [![Lint](https://img.shields.io/github/workflow/status/hadenlabs/terraform-aws-iam-user/lint-code)](https://github.com/hadenlabs/terraform-aws-iam-user/actions?workflow=lint-code) [![CI](https://img.shields.io/github/workflow/status/hadenlabs/terraform-aws-iam-user/ci)](https://github.com/hadenlabs/terraform-aws-iam-user/actions?workflow=ci) [![Test](https://img.shields.io/github/workflow/status/hadenlabs/terraform-aws-iam-user/test)](https://github.com/hadenlabs/terraform-aws-iam-user/actions?workflow=test) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow)](https://conventionalcommits.org) [![KeepAChangelog](https://img.shields.io/badge/Keep%20A%20Changelog-1.0.0-%23E05735)](https://keepachangelog.com)
# terraform-aws-iam-user
terraform-aws-iam-user for project
## Requirements
This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:
- [Pyenv](https://github.com/pyenv/pyenv)
- [Docker](https://www.docker.com/)
- [python](https://www.python.org)
- [taskfile](https://github.com/go-task/task)## Usage
```hcl
module "main" {
source = "hadenlabs/iam-user/aws"
version = "0.0.0"username = var.username
first_name = var.first_name
public_key = file(var.public_key)
path = var.path
}
```Full working examples can be found in [examples](./examples) folder.
## Examples
### common
```hcl
module "main" {
source = "hadenlabs/iam-user/aws"
version = "0.0.0"username = var.username
first_name = var.first_name
public_key = file(var.public_key)
path = var.path
}
```
## Requirements
| Name | Version |
| ------------------------------------------------------------------------ | ------- |
| [terraform](#requirement_terraform) | >= 0.13 |
| [aws](#requirement_aws) | >=3.2.0 |## Providers
| Name | Version |
| ------------------------------------------------ | ------- |
| [aws](#provider_aws) | >=3.2.0 |## Modules
No modules.
## Resources
| Name | Type |
| --- | --- |
| [aws_iam_access_key.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_access_key) | resource |
| [aws_iam_policy.access_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy.mfa](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy.password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_user.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user) | resource |
| [aws_iam_user_policy_attachment.access_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy_attachment) | resource |
| [aws_iam_user_policy_attachment.mfa](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy_attachment) | resource |
| [aws_iam_user_policy_attachment.password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy_attachment) | resource |
| [aws_iam_user_ssh_key.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_ssh_key) | resource |
| [aws_caller_identity.self](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
| [aws_iam_policy_document.access_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.enforce_mfa_device](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |## Inputs
| Name | Description | Type | Default | Required |
| --- | --- | --- | --- | :-: |
| [first_name](#input_first_name) | first name user | `string` | n/a | yes |
| [password_reset_required](#input_password_reset_required) | password reset required enabled | `bool` | `false` | no |
| [path](#input_path) | path of user | `string` | `null` | no |
| [public_key](#input_public_key) | content of file public key | `string` | `null` | no |
| [username](#input_username) | username or alias | `string` | n/a | yes |## Outputs
| Name | Description |
| ----------------------------------------------------------------- | ----------------------------- |
| [access_key](#output_access_key) | instance access_key |
| [ssh_key](#output_ssh_key) | instance aws_iam_user_ssh_key |
| [user](#output_user) | instance aws_iam_user |## Help
**Got a question?**
File a GitHub [issue](https://github.com/hadenlabs/terraform-aws-iam-user/issues).
## Contributing
### Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/hadenlabs/terraform-aws-iam-user/issues) to report any bugs or file feature requests.
### Development
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
1. **Fork** the repo on GitHub
2. **Clone** the project to your own machine
3. **Commit** changes to your own branch
4. **Push** your work back up to your fork5. Submit a **Pull Request** so that we can review your changes
**NOTE:** Be sure to rebase the latest changes from "upstream" before making a pull request!
## Module Versioning
This Module follows the principles of [Semantic Versioning (SemVer)](https://semver.org/).
Using the given version number of `MAJOR.MINOR.PATCH`, we apply the following constructs:
1. Use the `MAJOR` version for incompatible changes.
1. Use the `MINOR` version when adding functionality in a backwards compatible manner.
1. Use the `PATCH` version when introducing backwards compatible bug fixes.### Backwards compatibility in `0.0.z` and `0.y.z` version
- In the context of initial development, backwards compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. (Initial development)
- In the context of pre-release, backwards compatibility in versions `0.y.z` is **not guaranteed** when `y` is increased. (Pre-release)## Copyright
Copyright © 2018-2021 [Hadenlabs](https://hadenlabs.com)
## Trademarks
All other trademarks referenced herein are the property of their respective owners.
## License
The code and styles are licensed under the LGPL-3.0 license [See project license.](LICENSE).
## Don't forget to 🌟 Star 🌟 the repo if you like terraform-aws-iam-user
[Your feedback is appreciated](https://github.com/hadenlabs/terraform-aws-iam-user/issues)