Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-iam
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-iam
Commits
76f6ee5d
Commit
76f6ee5d
authored
Mar 01, 2018
by
Quentin Revel
Committed by
Anton Babenko
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add max_password_age for password policy (#5)
parent
7504a11b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
main.tf
modules/iam-account/main.tf
+1
-0
variables.tf
modules/iam-account/variables.tf
+5
-0
No files found.
modules/iam-account/main.tf
View file @
76f6ee5d
...
...
@@ -9,6 +9,7 @@ resource "aws_iam_account_alias" "this" {
resource
"aws_iam_account_password_policy"
"this"
{
count
=
"
${
var
.
create_account_password_policy
?
1
:
0
}
"
max_password_age
=
"
${
var
.
max_password_age
}
"
minimum_password_length
=
"
${
var
.
minimum_password_length
}
"
allow_users_to_change_password
=
"
${
var
.
allow_users_to_change_password
}
"
hard_expiry
=
"
${
var
.
hard_expiry
}
"
...
...
modules/iam-account/variables.tf
View file @
76f6ee5d
...
...
@@ -12,6 +12,11 @@ variable "create_account_password_policy" {
default
=
true
}
variable
"max_password_age"
{
description
=
"The number of days that an user password is valid."
default
=
0
}
variable
"minimum_password_length"
{
description
=
"Minimum length to require for user passwords"
default
=
8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment