diff --git a/vm-centos/main.tf b/vm-centos/main.tf index 3444aa0..05a9ea4 100644 --- a/vm-centos/main.tf +++ b/vm-centos/main.tf @@ -10,7 +10,7 @@ resource "random_id" "randomMachineId" { resource "random_password" "password" { length = 16 special = true - override_special = "_!@" + override_special = "_!" upper = true lower = true min_lower = 2 diff --git a/vm-oraclelinux81/main.tf b/vm-oraclelinux81/main.tf index 862b68d..c6a140f 100644 --- a/vm-oraclelinux81/main.tf +++ b/vm-oraclelinux81/main.tf @@ -9,14 +9,13 @@ resource "random_id" "randomMachineId" { resource "random_password" "password" { length = 16 - special = false - override_special = "_" + special = true + override_special = "_!" upper = true lower = true min_lower = 2 min_upper = 2 - min_special = 0 - min_numeric = 2 + min_special = 2 } locals { diff --git a/vm-ubuntu/main.tf b/vm-ubuntu/main.tf index 840e9f1..e9dc1cb 100644 --- a/vm-ubuntu/main.tf +++ b/vm-ubuntu/main.tf @@ -10,13 +10,12 @@ resource "random_id" "randomMachineId" { resource "random_password" "password" { length = 16 special = true - override_special = "_" + override_special = "_!" upper = true lower = true min_lower = 2 min_upper = 2 - min_special = 0 - min_numeric = 2 + min_special = 2 } locals {