From 514fbb4a5d2cbe3853dfbc6c424ecf4813af40bc Mon Sep 17 00:00:00 2001 From: tccontre <26181693+tccontre@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:19:00 +0100 Subject: [PATCH] Update resources.tf latest kali in aws change its image file name --- terraform/aws/modules/kali-server/resources.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/aws/modules/kali-server/resources.tf b/terraform/aws/modules/kali-server/resources.tf index 26b3b20a..7072c823 100644 --- a/terraform/aws/modules/kali-server/resources.tf +++ b/terraform/aws/modules/kali-server/resources.tf @@ -6,7 +6,7 @@ data "aws_ami" "latest-kali-linux" { filter { name = "name" - values = ["kali-linux-2022*"] + values = ["kali-last-snapshot-amd64-2022*"] } filter { @@ -43,4 +43,4 @@ resource "aws_instance" "kali_machine" { resource "aws_eip" "kali_ip" { count = (var.kali_server.kali_server == "1") && (var.aws.use_elastic_ips == "1") ? 1 : 0 instance = aws_instance.kali_machine[0].id -} \ No newline at end of file +}