Skip to content

Commit e38d45f

Browse files
committed
fix(rancher): AWS - adjust windows ami filter
Filter for 'Windows_Server-2019-English-Full-Base*' to avoid that flavours like SQL Server or Core are part of the results. Refs: rancher#236 (comment)
1 parent 7484881 commit e38d45f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rancher/aws/data.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ data "aws_ami" "windows" {
3434
owners = ["801119661308"] #Amazon
3535
filter {
3636
name = "name"
37-
values = ["Windows_Server-2019-*"]
37+
values = ["Windows_Server-2019-English-Full-Base*"]
3838
}
3939

4040
filter {
4141
name = "virtualization-type"
4242
values = ["hvm"]
4343
}
4444

45-
}
45+
}

0 commit comments

Comments
 (0)