Skip to content

Commit 514fbb4

Browse files
authored
Update resources.tf
latest kali in aws change its image file name
1 parent 3bd87b5 commit 514fbb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/aws/modules/kali-server/resources.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data "aws_ami" "latest-kali-linux" {
66

77
filter {
88
name = "name"
9-
values = ["kali-linux-2022*"]
9+
values = ["kali-last-snapshot-amd64-2022*"]
1010
}
1111

1212
filter {
@@ -43,4 +43,4 @@ resource "aws_instance" "kali_machine" {
4343
resource "aws_eip" "kali_ip" {
4444
count = (var.kali_server.kali_server == "1") && (var.aws.use_elastic_ips == "1") ? 1 : 0
4545
instance = aws_instance.kali_machine[0].id
46-
}
46+
}

0 commit comments

Comments
 (0)