FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_iam_account_password_policy

-> Note: There is only a single policy allowed per AWS account. An existing policy will be lost when using this resource as an effect of this limitation.

Manages Password Policy for the AWS Account. See more about Account Password Policy in the official AWS docs.

Example Usage

resource "aws_iam_account_password_policy" "strict" {
    minimum_password_length = 8
    require_lowercase_characters = true
    require_numbers = true
    require_uppercase_characters = true
    require_symbols = true
    allow_users_to_change_password = true
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

IAM Account Password Policy can be imported using the word iam-account-password-policy, e.g.

$ terraform import aws_iam_account_password_policy.strict iam-account-password-policy

See the source of this document at Terraform.io