Skip to content

Commit

Permalink
Merge branch 'main' into issue8
Browse files Browse the repository at this point in the history
  • Loading branch information
kourosh-forti-hands authored Mar 20, 2024
2 parents 2d56ae9 + 1aba940 commit 820d147
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
output "secret_arns" {
value = values(aws_secretsmanager_secret.this)[*].arn
description = "The ARN values of the generated secrets"
value = {
for k, v in aws_secretsmanager_secret.this : k => v.arn
}
}

output "secrets" {
sensitive = true
value = values(aws_secretsmanager_secret_version.this)[*].secret_string
description = "Returns all secrets generated by the secrets manager module"
sensitive = true
value = {
for k, v in aws_secretsmanager_secret_version.this : k => v.secret_string
}
}

output "names" {
Expand Down

0 comments on commit 820d147

Please sign in to comment.