From 4988662c7b53823e3a440130614ed72944885952 Mon Sep 17 00:00:00 2001 From: Pepe Padial Date: Wed, 20 Sep 2017 10:06:12 +0200 Subject: [PATCH] Fix wrong password_reuse_prevention variable --- iam_passwordpolicy.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam_passwordpolicy.tf b/iam_passwordpolicy.tf index 29adc0c..81d6544 100644 --- a/iam_passwordpolicy.tf +++ b/iam_passwordpolicy.tf @@ -6,7 +6,7 @@ resource "aws_iam_account_password_policy" "strict" { require_numbers = true require_symbols = true allow_users_to_change_password = true - password_reuse_prevention = "${var.password_min_length}" + password_reuse_prevention = "${var.password_reuse_prevention}" hard_expiry = "${var.password_hard_expiry}" max_password_age = "${var.password_max_age}" }