Ajouter policy-password.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 7s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 7s
This commit is contained in:
13
policy-password.tf
Normal file
13
policy-password.tf
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
resource "aws_iam_account_password_policy" "strict" {
|
||||||
|
minimum_password_length = 10
|
||||||
|
require_uppercase_characters = true
|
||||||
|
require_lowercase_characters = true
|
||||||
|
require_numbers = true
|
||||||
|
require_symbols = true
|
||||||
|
allow_users_to_change_password = true
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_iam_account_password_policy" "strict" {
|
||||||
|
max_password_age = 90
|
||||||
|
password_reuse_prevention = 3
|
||||||
|
}
|
Reference in New Issue
Block a user