Skip to content

Commit

Permalink
feat(example): add outputs
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 8eb36df commit 9e072b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ No resources.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_aws_tfc_audience"></a> [aws\_tfc\_audience](#output\_aws\_tfc\_audience) | n/a |
| <a name="output_full_name"></a> [full\_name](#output\_full\_name) | n/a |
| <a name="output_oidc_claims"></a> [oidc\_claims](#output\_oidc\_claims) | n/a |
| <a name="output_role_arns"></a> [role\_arns](#output\_role\_arns) | n/a |
<!-- END_TF_DOCS -->
16 changes: 16 additions & 0 deletions examples/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
output "full_name" {
value = module.tfc_aws_dynamic_credentials.full_name
}

output "oidc_claims" {
value = module.tfc_aws_dynamic_credentials.oidc_claims
}

output "role_arns" {
value = module.tfc_aws_dynamic_credentials.role_arns
}

output "aws_tfc_audience" {
value = module.tfc_aws_dynamic_credentials.aws_tfc_audience
sensitive = true
}

0 comments on commit 9e072b3

Please sign in to comment.