Skip to content

Commit

Permalink
fix(root): module output references
Browse files Browse the repository at this point in the history
Signed-off-by: leonsteinhaeuser <[email protected]>
  • Loading branch information
leonsteinhaeuser committed Jul 29, 2024
1 parent cb3d1b7 commit 8eb36df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
output "full_names" {
value = [for instance in module.aws_tfc_dynamic_credentials_iam_roles : instance.full_name]
output "full_name" {
value = module.aws_tfc_dynamic_credentials_iam_roles.full_name
description = "A list of all 'full_name' values"
}

output "oidc_claims" {
value = { for instance in module.aws_tfc_dynamic_credentials_iam_roles : instance.full_name => instance.openid_claims }
description = "A map of 'full_name' as key and 'openid_claims' as value"
value = module.aws_tfc_dynamic_credentials_iam_roles.openid_claims
description = "OpenID Claims for trust relationship"
}

output "role_arns" {
value = { for instance in module.aws_tfc_dynamic_credentials_iam_roles : instance.full_name => instance.role_arn }
description = "A map of 'full_name' as key and 'role_arn' as value"
value = module.aws_tfc_dynamic_credentials_iam_roles.role_arn
description = "ARN for trust relationship role"
}

output "aws_tfc_audience" {
Expand Down

0 comments on commit 8eb36df

Please sign in to comment.