Skip to content

Terraform module to manage the Amazon Web Services resources (aws_iam_account_alias, aws_iam_account_password_policy)

License

Notifications You must be signed in to change notification settings

dhoppeIT/terraform-aws-iam_account

Repository files navigation

terraform-aws-iam_account

Terraform module to manage the Amazon Web Services resources (aws_iam_account_alias, aws_iam_account_password_policy).

Graph

Graph

Usage

Copy and paste into your Terraform configuration, insert the variables and run terraform init:

module "aws_iam_account" {
  source = "dhoppeIT/iam_account/aws"

  create_account_alias = true
  account_alias        = "dhoppeit"

  create_account_password_policy = true
  max_password_age               = 90
  minimum_password_length        = 32
  password_reuse_prevention      = 3
  require_lowercase_characters   = true
  require_numbers                = true
  require_symbols                = true
  require_uppercase_characters   = true
}

Requirements

Name Version
terraform >= 1.0
aws ~> 4.1

Providers

Name Version
aws 4.40.0

Modules

No modules.

Resources

Name Type
aws_iam_account_alias.default resource
aws_iam_account_password_policy.default resource

Inputs

Name Description Type Default Required
account_alias The account alias string null no
allow_users_to_change_password Whether to allow users to change their own password bool true no
create_account_alias Whether to create IAM account alias bool false no
create_account_password_policy Whether to create IAM account password policy bool false no
hard_expiry Whether users are prevented from setting a new password after their password has expired bool null no
max_password_age The number of days that an user password is valid number null no
minimum_password_length Minimum length to require for user passwords number 6 no
password_reuse_prevention The number of previous passwords that users are prevented from reusing number null no
require_lowercase_characters Whether to require lowercase characters for user passwords bool null no
require_numbers Whether to require numbers for user passwords bool null no
require_symbols Whether to require symbols for user passwords bool null no
require_uppercase_characters Whether to require uppercase characters for user passwords bool null no

Outputs

No outputs.

Authors

Created and maintained by Dennis Hoppe.

License

Apache 2 licensed. See LICENSE for full details.

About

Terraform module to manage the Amazon Web Services resources (aws_iam_account_alias, aws_iam_account_password_policy)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages