Skip to content

Commit 8e5ca39

Browse files
committed
add W10 to computer filter
1 parent 065827f commit 8e5ca39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: test_code/AZURE_MACHINES/variables.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ variable "AZURE_WIN_MACHINE_CONFIGS" {
9797
default = {
9898
# az vm image list --output table --all --publisher MicrosoftWindowsDesktop --sku win10-21h2-ent
9999
W10_ENT_21H2 = {
100-
recreate = "changethistorecreate"
100+
recreate = "changethistorecreate1"
101101
machine_type = "Standard_DS1_v2"
102102
description = "Windows 10 Enterprise 21H2"
103103
default_user = "test-user"
104104
default_password = "km$3MWPf&i6r4o@I"
105105
computer_name = "W10ENT21H2"
106106
wait = "120"
107-
user_data = "user_data/windows.ps"
107+
user_data = "user_data/windows_observe.ps"
108108
source_image_reference = {
109109
publisher = "MicrosoftWindowsDesktop"
110110
offer = "Windows-10"
@@ -120,7 +120,7 @@ variable "AZURE_WIN_MACHINE_CONFIGS" {
120120
variable "AZURE_COMPUTE_FILTER" {
121121
type = list(any)
122122
description = "list of compute instances to filter"
123-
default = ["UBUNTU_20_04_LTS"]
123+
default = ["UBUNTU_20_04_LTS", "W10_ENT_21H2"]
124124
# default = ["UBUNTU_18_04_LTS", "UBUNTU_20_04_LTS", "RHEL_8"]
125125
}
126126

Diff for: test_code/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module "azure_machines" {
3939
PRIVATE_KEY_PATH = var.PRIVATE_KEY_PATH
4040
location = "West US 3"
4141
name_format = local.name_format
42-
AZURE_COMPUTE_FILTER = ["UBUNTU_18_04_LTS", "UBUNTU_20_04_LTS", "UBUNTU_22_04_LTS", "RHEL_8", "CENTOS_8"]
42+
AZURE_COMPUTE_FILTER = ["UBUNTU_18_04_LTS", "UBUNTU_20_04_LTS", "UBUNTU_22_04_LTS", "RHEL_8", "CENTOS_8", "W10_ENT_21H2"]
4343
CI = var.CI
4444
PUBLIC_KEY = var.PUBLIC_KEY
4545
providers = {

Diff for: test_code/user_data/windows_observe.ps

583 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)