File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,11 @@ module "ado_vmss_agent_pool" {
7272
7373## Outputs
7474
75- | Name | Description |
76- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
77- | <a name =" output_vmss_id " ></a > [ vmss\_ id] ( #output\_ vmss\_ id ) | VM Scale Sets id |
78- | <a name =" output_public_ip_prefix " ></a > [ public\_ ip\_ prefix] ( #output\_ public\_ ip\_ prefix ) | Public IP Address Prefix CIDR |
75+ | Name | Description |
76+ | ------------------------------------------------------------------------------------------| ---------------------------------|
77+ | <a name =" output_vmss_id " ></a > [ vmss\_ id] ( #output\_ vmss\_ id ) | VM Scale Sets id |
78+ | <a name =" output_public_ip_prefix " ></a > [ public\_ ip\_ prefix] ( #output\_ public\_ ip\_ prefix ) | Public IP Address Prefix CIDR |
79+ | <a name =" output_tls_key " ></a > [ tls\_ key] ( #output\_ tls\_ key ) | SSH Key for VMSS authorization |
7980
8081<!-- END_TF_DOCS -->
8182
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module "vmss" {
1818 type = " CustomScript"
1919 type_handler_version = " 2.0"
2020 settings = jsonencode ({
21- " script" : (base64encode (" apt-get update -y && apt-get upgrade -y; apt-get -y install unzip" ))
21+ " script" : (base64encode (" apt-get update -y && apt-get upgrade -y && apt-get install unzip -y " ))
2222 })
2323 }]
2424}
Original file line number Diff line number Diff line change @@ -7,3 +7,11 @@ output "public_ip_prefix" {
77 value = module. vmss . public_ips
88 description = " Public IP Address Prefix CIDR"
99}
10+
11+ output "tls_key" {
12+ value = {
13+ public_key = tls_private_key.this.public_key_openssh
14+ private_key = tls_private_key.this.private_key_openssh
15+ }
16+ description = " SSH Key for VMSS authorization"
17+ }
You can’t perform that action at this time.
0 commit comments