Skip to content

Commit

Permalink
Merge pull request #732 from splunk/AR-AWS-Kali-Name
Browse files Browse the repository at this point in the history
Update resources.tf
  • Loading branch information
patel-bhavin authored Jan 17, 2023
2 parents 3bd87b5 + 514fbb4 commit 29b3417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/aws/modules/kali-server/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "aws_ami" "latest-kali-linux" {

filter {
name = "name"
values = ["kali-linux-2022*"]
values = ["kali-last-snapshot-amd64-2022*"]
}

filter {
Expand Down Expand Up @@ -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
}
}

0 comments on commit 29b3417

Please sign in to comment.