diff --git a/cognito/cognito.tf b/cognito/cognito.tf index 141cccb..1e7fe2e 100644 --- a/cognito/cognito.tf +++ b/cognito/cognito.tf @@ -160,6 +160,12 @@ resource "aws_cognito_user" "guest" { given_name = "Guest" family_name = "Guest" } + + lifecycle { + ignore_changes = [ + password + ] + } } resource "aws_cognito_user" "admin" { @@ -174,6 +180,12 @@ resource "aws_cognito_user" "admin" { email = var.gaspi-admin-username email_verified = true } + + lifecycle { + ignore_changes = [ + password + ] + } } #