Skip to content

Commit

Permalink
fix(rancher): AWS - adjust windows ami filter
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
wombelix committed Nov 8, 2024
1 parent 7484881 commit e38d45f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rancher/aws/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ data "aws_ami" "windows" {
owners = ["801119661308"] #Amazon
filter {
name = "name"
values = ["Windows_Server-2019-*"]
values = ["Windows_Server-2019-English-Full-Base*"]
}

filter {
name = "virtualization-type"
values = ["hvm"]
}

}
}

0 comments on commit e38d45f

Please sign in to comment.