2023-12-21 17:47:41 +08:00
|
|
|
output "secret_arn" {
|
2023-06-13 15:47:05 +08:00
|
|
|
value = aws_secretsmanager_secret.secret1.arn
|
|
|
|
}
|
2023-12-21 17:47:41 +08:00
|
|
|
|
|
|
|
output "secret_id" {
|
2023-06-13 15:47:05 +08:00
|
|
|
value = "${var.secret_name}-${random_id.rid.dec}"
|
2023-12-21 17:47:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
output "generated_password" {
|
|
|
|
value = try(random_password.this[0].result, "None")
|
|
|
|
sensitive = true
|
2023-06-13 15:47:05 +08:00
|
|
|
}
|