Skip to content

Commit 59ca036

Browse files
authored
Merge pull request #1 from kumarvna/develop
adding support to terraform v0.13
2 parents 76c2002 + 888ed39 commit 59ca036

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

examples/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ module "vmscaleset" {
3131
# Windows Images: windows2012r2dc, windows2016dc, windows2019dc, windows2016dccore
3232
# Specify the RSA key for production workloads and set generate_admin_ssh_key argument to false
3333
# When you use Autoscaling feature, instances_count will become default and minimum instance count.
34-
os_flavor = "linux"
35-
windows_distribution_name = "ubuntu1804"
36-
generate_admin_ssh_key = false
37-
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
38-
instances_count = 2
34+
os_flavor = "linux"
35+
linux_distribution_name = "ubuntu1804"
36+
generate_admin_ssh_key = false
37+
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
38+
instances_count = 2
3939
4040
# Public and private load balancer support for VM scale sets
4141
# Specify health probe port to allow LB to detect the backend endpoint status
@@ -47,7 +47,7 @@ module "vmscaleset" {
4747
load_balanced_port_list = [80, 443]
4848
additional_data_disks = [100, 200]
4949
50-
# Enable Auto scaling feature for VM scaleset by set argument to true. P
50+
# Enable Auto scaling feature for VM scaleset by set argument to true.
5151
# Instances_count in VMSS will become default and minimum instance count.
5252
# Automatically scale out the number of VM instances based on CPU Average only.
5353
enable_autoscale_for_vmss = true
@@ -100,7 +100,7 @@ module "vmscaleset" {
100100
virtual_network_name = "vnet-demo-westeurope-001"
101101
subnet_name = "appgateway"
102102
vmscaleset_name = "testvmss"
103-
vm_computer_name = "webserv1"
103+
vm_computer_name = "websrv1"
104104
105105
# (Optional) To enable Azure Monitoring and install log analytics agents
106106
log_analytics_workspace_name = var.log_analytics_workspace_id

examples/linux_vm_scale_sets/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ module "vmscaleset" {
2525
# Windows Images: windows2012r2dc, windows2016dc, windows2019dc, windows2016dccore
2626
# Specify the RSA key for production workloads and set generate_admin_ssh_key argument to false
2727
# When you use Autoscaling feature, instances_count will become default and minimum instance count.
28-
os_flavor = "linux"
29-
windows_distribution_name = "ubuntu1804"
30-
generate_admin_ssh_key = false
31-
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
32-
instances_count = 2
28+
os_flavor = "linux"
29+
linux_distribution_name = "ubuntu1804"
30+
generate_admin_ssh_key = false
31+
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
32+
instances_count = 2
3333
3434
# Public and private load balancer support for VM scale sets
3535
# Specify health probe port to allow LB to detect the backend endpoint status
@@ -41,7 +41,7 @@ module "vmscaleset" {
4141
load_balanced_port_list = [80, 443]
4242
additional_data_disks = [100, 200]
4343
44-
# Enable Auto scaling feature for VM scaleset by set argument to true. P
44+
# Enable Auto scaling feature for VM scaleset by set argument to true.
4545
# Instances_count in VMSS will become default and minimum instance count.
4646
# Automatically scale out the number of VM instances based on CPU Average only.
4747
enable_autoscale_for_vmss = true

examples/linux_vm_scale_sets/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ module "vmscaleset" {
1818
# Windows Images: windows2012r2dc, windows2016dc, windows2019dc, windows2016dccore
1919
# Specify the RSA key for production workloads and set generate_admin_ssh_key argument to false
2020
# When you use Autoscaling feature, instances_count will become default and minimum instance count.
21-
os_flavor = "linux"
22-
windows_distribution_name = "ubuntu1804"
23-
generate_admin_ssh_key = false
24-
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
25-
instances_count = 2
21+
os_flavor = "linux"
22+
linux_distribution_name = "ubuntu1804"
23+
generate_admin_ssh_key = false
24+
admin_ssh_key_data = "~/.ssh/id_rsa.pub"
25+
instances_count = 2
2626

2727
# Public and private load balancer support for VM scale sets
2828
# Specify health probe port to allow LB to detect the backend endpoint status

examples/windows_vm_scale_sets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "vmscaleset" {
1414
virtual_network_name = "vnet-demo-westeurope-001"
1515
subnet_name = "appgateway"
1616
vmscaleset_name = "testvmss"
17-
vm_computer_name = "webserv1"
17+
vm_computer_name = "websrv1"
1818
1919
# (Optional) To enable Azure Monitoring and install log analytics agents
2020
log_analytics_workspace_name = var.log_analytics_workspace_id

examples/windows_vm_scale_sets/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ module "vmscaleset" {
77
virtual_network_name = "vnet-demo-westeurope-001"
88
subnet_name = "appgateway"
99
vmscaleset_name = "testvmss"
10-
vm_computer_name = "webserv1"
10+
vm_computer_name = "websrv1"
1111

12-
/* # (Optional) To enable Azure Monitoring and install log analytics agents
12+
# (Optional) To enable Azure Monitoring and install log analytics agents
1313
log_analytics_workspace_name = var.log_analytics_workspace_id
1414
hub_storage_account_name = var.hub_storage_account_id
15-
*/
15+
1616
# This module support multiple Pre-Defined Linux and Windows Distributions.
1717
# These distributions support the Automatic OS image upgrades in virtual machine scale sets
1818
# Linux images: ubuntu1804, ubuntu1604, centos75, coreos

0 commit comments

Comments
 (0)