output "secret_arn" { value = aws_secretsmanager_secret.secret1.arn } output "secret_id" { value = "${var.secret_name}-${random_id.rid.dec}" } output "generated_password" { value = try(random_password.this[0].result, "None") sensitive = true }