terraform-aws-iam-user

module
v0.0.0-...-62dc989 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: LGPL-3.0

README ยถ

Latest Release Lint CI Test pre-commit Conventional Commits KeepAChangelog

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:

Usage

  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 folder.

Examples

common
  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 >= 0.13
aws >=3.2.0

Providers

Name Version
aws >=3.2.0

Modules

No modules.

Resources

Name Type
aws_iam_access_key.this resource
aws_iam_policy.access_key resource
aws_iam_policy.mfa resource
aws_iam_policy.password resource
aws_iam_user.this resource
aws_iam_user_policy_attachment.access_key resource
aws_iam_user_policy_attachment.mfa resource
aws_iam_user_policy_attachment.password resource
aws_iam_user_ssh_key.this resource
aws_caller_identity.self data source
aws_iam_policy_document.access_key data source
aws_iam_policy_document.enforce_mfa_device data source
aws_iam_policy_document.password data source

Inputs

Name Description Type Default Required
first_name first name user string n/a yes
password_reset_required password reset required enabled bool false no
path path of user string null no
public_key content of file public key string null no
username username or alias string n/a yes

Outputs

Name Description
access_key instance access_key
ssh_key instance aws_iam_user_ssh_key
user instance aws_iam_user

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker 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 fork

  5. 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).

Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use the MAJOR version for incompatible changes.
  2. Use the MINOR version when adding functionality in a backwards compatible manner.
  3. 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 ยฉ 2018-2021 Hadenlabs

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..

Don't forget to ๐ŸŒŸ Star ๐ŸŒŸ the repo if you like terraform-aws-iam-user

Your feedback is appreciated

Directories ยถ

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL