Skip to content

Commit ba62086

Browse files
author
dmytro_velychko3
committed
fix: changed output
1 parent f8086c3 commit ba62086

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ No modules.
9595
| Name | Description |
9696
| ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
9797
| <a name="output_id"></a> [id](#output\_id) | The ID of the Linux Virtual Machine |
98-
| <a name="output_access_connector_identity"></a> [access\_connector\_identity](#output\_access\_connector\_identity) | linux virtual machine identity |
98+
| <a name="output_identity"></a> [identity](#output\_identity) | linux virtual machine identity |
9999
<!-- END_TF_DOCS -->
100100

101101
## License

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ output "id" {
33
description = "The ID of the Linux Virtual Machine"
44
}
55

6-
output "access_connector_identity" {
7-
value = var.identity_enabled ? azurerm_linux_virtual_machine.this.identity[0].principal_id : ""
6+
output "identity" {
7+
value = try(azurerm_linux_virtual_machine.this.identity[0].principal_id, null)
88
description = "linux virtual machine Identities list"
99
}

0 commit comments

Comments
 (0)