Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instance_name to outputs to return a list of cluster instance identifiers #47

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
use toset instead of join function
larsfuehrer committed Mar 9, 2022
commit 1836e54b3af02aaa7db9c962dab89f8d543a071e
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ output "cluster_name" {
}

output "instance_name" {
value = join(", ", aws_docdb_cluster_instance.default.*.identifier)
value = toset(aws_docdb_cluster_instance.default.*.identifier)
description = "Cluster Instance Identifier"
}