From 8eb1d0c634f423acb954961965c5047401cf1553 Mon Sep 17 00:00:00 2001 From: Nick Frichette Date: Tue, 24 May 2022 08:02:34 -0500 Subject: [PATCH 1/2] Increased target service storage size GitLab must be getting bigger, it was brought to my attention that the standard walkthrough didn't work any longer due to the target service running out of storage. I have doubled it --- aws/cicdont/target_service.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aws/cicdont/target_service.tf b/aws/cicdont/target_service.tf index 2b1641b..dcd34cc 100644 --- a/aws/cicdont/target_service.tf +++ b/aws/cicdont/target_service.tf @@ -66,6 +66,11 @@ resource "aws_instance" "target_service" { iam_instance_profile = aws_iam_instance_profile.cicd_service_profile.name depends_on = [aws_internet_gateway.ctf_gw] + ebs_block_device { + device_name = "/dev/sda1" + volume_size = 16 + } + user_data = data.template_file.target_user_data.rendered metadata_options { From f29640cf5d199130dc60bb2198b9093aeab3c081 Mon Sep 17 00:00:00 2001 From: Nick Frichette Date: Tue, 24 May 2022 08:07:01 -0500 Subject: [PATCH 2/2] Increased time to prepare --- aws/cicdont/story.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/cicdont/story.tf b/aws/cicdont/story.tf index 001b7a1..a51423c 100644 --- a/aws/cicdont/story.tf +++ b/aws/cicdont/story.tf @@ -35,5 +35,5 @@ output "attackbox_ip" { } output "time_warning" { - value = "Please be aware the CTF will be ready 10 minutes from the time this message is first displayed" -} \ No newline at end of file + value = "Please be aware the CTF will be ready 10-12 minutes from the time this message is first displayed" +}