outputs.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
output "secret_ids" {
  description = "Map of logical key to secret ID"
  value       = { for k, v in aws_secretsmanager_secret.this : k => v.id }
}

output "secret_arns" {
  description = "Map of logical key to secret ARN"
  value       = { for k, v in aws_secretsmanager_secret.this : k => v.arn }
}

output "secret_names" {
  description = "Map of logical key to secret name"
  value       = { for k, v in aws_secretsmanager_secret.this : k => v.name }
}