Skip to content

Commit

Permalink
adding key_vault_id output to azure oidc module (#47)
Browse files Browse the repository at this point in the history
* adding key_vault_id output to azure oidc module

* terraform-docs: automated action

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
TylerMizuyabu and github-actions[bot] committed Jun 6, 2024
1 parent 340af0d commit 277ddc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/github-azure-oidc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ No modules.
|------|-------------|
| <a name="output_bootstrap_client_id"></a> [bootstrap\_client\_id](#output\_bootstrap\_client\_id) | Bootstrap repository client id for authenticating with oidc. |
| <a name="output_container_name"></a> [container\_name](#output\_container\_name) | Terraform state container name. |
| <a name="output_key_vault_id"></a> [key\_vault\_id](#output\_key\_vault\_id) | Azure key vault id for github foundation secrets. |
| <a name="output_organization_client_id"></a> [organization\_client\_id](#output\_organization\_client\_id) | Organizations repository client id for authenticating with oidc. |
| <a name="output_resource_group"></a> [resource\_group](#output\_resource\_group) | Resource group name. |
| <a name="output_sa_name"></a> [sa\_name](#output\_sa\_name) | Terraform state container storage account name. |
Expand Down
5 changes: 5 additions & 0 deletions modules/github-azure-oidc/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ output "sa_name" {
output "container_name" {
description = "Terraform state container name."
value = local.tf_state_container.name
}

output "key_vault_id" {
description = "Azure key vault id for github foundation secrets."
value = var.kv_name != "" ? data.azurerm_key_vault.key_vault[0].id : ""
}

0 comments on commit 277ddc1

Please sign in to comment.