-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add refactor and CHANGELOG * fix to secret output * fixes to tests * some fixes to tftest * fix to azurerm_key_vault_key.keys in tftest.hcl
- Loading branch information
Showing
6 changed files
with
82 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,47 @@ | ||
output "id" { | ||
value = azurerm_key_vault.vault.id | ||
value = azurerm_key_vault.kv.id | ||
description = "The virtual network configuration ID." | ||
} | ||
|
||
output "name" { | ||
value = azurerm_key_vault.vault.name | ||
value = azurerm_key_vault.kv.name | ||
description = "The name of the virtual network." | ||
} | ||
|
||
output "resource_group_name" { | ||
value = azurerm_key_vault.vault.resource_group_name | ||
value = azurerm_key_vault.kv.resource_group_name | ||
description = "The name of the resource group in which to create the virtual network." | ||
} | ||
|
||
output "location" { | ||
value = azurerm_key_vault.vault.location | ||
value = azurerm_key_vault.kv.location | ||
description = "The location/region where the virtual network is created." | ||
} | ||
|
||
output "tags" { | ||
value = azurerm_key_vault.vault.tags | ||
value = azurerm_key_vault.kv.tags | ||
description = "The tags assigned to the resource." | ||
} | ||
|
||
output "contacts" { | ||
value = azurerm_key_vault.kv.contact | ||
description = "Blocks containing each contact." | ||
} | ||
|
||
output "access_policies" { | ||
value = azurerm_key_vault.vault.access_policy | ||
value = azurerm_key_vault.kv.access_policy | ||
description = "Blocks containing configuration of each access policy." | ||
} | ||
|
||
output "keys" { | ||
value = azurerm_key_vault.vault.access_policy | ||
value = { for key in azurerm_key_vault_key.keys : key.name => key } | ||
description = "Blocks containing configuration of each key." | ||
# module.MODULE_NAME.keys["KEY_NAME"].id | ||
} | ||
|
||
output "secrets" { | ||
value = azurerm_key_vault.vault.access_policy | ||
value = { for secret in azurerm_key_vault_secret.secrets : secret.name => secret } | ||
description = "Blocks containing configuration of each secret." | ||
} | ||
|
||
output "contacts" { | ||
value = azurerm_key_vault.vault.contact | ||
description = "Blocks containing each contact." | ||
sensitive = true | ||
# module.MODULE_NAME.keys["SECRET_NAME"].id | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters