secdevops-cuse / cyberrange Goto Github PK
View Code? Open in Web Editor NEWThe Open-Source AWS Cyber Range
Home Page: https://medium.com/aws-cyber-range
The Open-Source AWS Cyber Range
Home Page: https://medium.com/aws-cyber-range
I recently signed up for access to the cyber range and would like to know when I can get access to it....
Cloud-init scripts attempt to startup the vncserver yet it requires the user to log into the system and execute the startup command itself. Not sure why - research and consider fixing, work around exists so this is low priority
Given I am a new cyber security professional
When I don't know anything about terraform
And I'm on a (mac|ubuntu|windows) machine
And I'm a new AWS cloud user
Then I have clear instructions providing guidance to:
Then I confirm I am all setup
And I see the AMIs in my us-east-1 region
https://websploit.org/websploit_kali.sh + a bunch more:
https://github.com/The-Art-of-Hacking/h4cker/tree/master/vulnerable_servers
docker run --name webgoat -d --restart unless-stopped -p 6661:8080 -t santosomar/webgoat
docker run --name juice-shop --restart unless-stopped -d -p 6662:3000 santosomar/juice-shop
docker run --name dvwa --restart unless-stopped -itd -p 6663:80 santosomar/dvwa
docker run --name mutillidae_2 --restart unless-stopped -d -p 6664:80 santosomar/mutillidae_2
docker run --name bwapp2 --restart unless-stopped -d -p 6665:80 santosomar/bwapp
docker run --name dvna --restart unless-stopped -d -p 6666:9090 santosomar/dvna
docker run --name hackazon -d --restart unless-stopped -p 6667:80 santosomar/hackazon
docker run --name hackme-rtov -d --restart unless-stopped -p 9000:80 santosomar/hackme-rtov
the kali box had an major lag issue in us-east-1. Performance testing is a new challenge requiring research. This requires more research, possible low hanging fruit consider: https://help.k2.com/kb001279
The initial thought is to simply rebuild the ami, I can copy one from another region. however if the copy is creating the issue then a complete rebuild is necessary.
Building the AMIs is a repetitive process - there are many automated solutions including packer. let's create a lambda function that allows a slackbot to handle some of the heavy lifting.
At this point a stable docker asset should exist and having multiple vulnerable assets on it. during last nights research I came across docker hacklab and this had me thinking....
There are a vast collection of tools that are not well organized. This ticket seeks to organize directories and add the tools from v2.
This issue is found. Work around was commit url. Creating this as a tracker / reminder to revert back to the plan out file usage once fixed
Met the Fire Eye Engineers at blackhat, already updated the AMI, both are available in the manifest due to the t2 / i3 instance type. document and publicize
the TPotCE solution is unstable on AWS for unknown reasons. Numerous tickets were created and it's a wait/see process. It does however have great capabilities that can/should be tapped into. It would be great to integrate with something like greynoise for advanced information insight.
Adding a backlog ticket to create a lamba script which is triggered like a cron, to shut things down.
Hello,
My colleague and I have been attempting to deploy the range but keep getting errors about the S3 bucket name not being able to be used. We have tried to change the S3 bucket name in almost all areas that may be referenced still getting the same issue.
Also, after deployment of the range, only 34 assets at the moment at ouf the 41 because it stops when getting the S3 bucket error, we're not able to login to the running instances based on the default credentials in the repo. Is this because the deployment didn't finish completely?
If so, how can we fix the S3 bucket issue? Is there is specific file where we need to change the name that effects everything else?
Hello Tom,
First, thank you for giving us acces to you platform and all its AMIs!
I know you are overwhelmed by your job, but I have a few notes concerning the documentation.
In the medium documentation (step1, step2, ...) the command lines to deploy the CyberRange do not use terraform
commands directly, but make
commands. This is not the same in getting_started.md
, so it is confusing.
The Makefile is very simple to understand, once we have understood to add environment variables ENV
and REGION
, like:
make init ENV=demo REGION=eu-west-2
make plan ENV=demo REGION=eu-west-2
make cyberRange ENV=demo REGION=eu-west-2
...
make destroy-force ENV=demo REGION=eu-west-2
Furthermore, the make cyberRange
command needs to have previously installed inspec, because of checkLab
sub-command call.
At the begining, the ENV
variable rule was not clear to me, but it is only an arbitrary name for the deployed platform.
Please Tom, could you upgrade the getting_started.md
file, or simplify it by giving links to medium documentation?
Thanks in advance,
Regards, Remy
I requested access awhile ago. I am currently running detection lab in the cloud, but would like to expand to the cyber range project. ETA for access
make
will fail because of this line. The four spaces need to be a <tab>
. If a PR is needed, I can submit one...
Line 169 in aa7cfe2
This issue is open so I can link the hard-coded terraform version of 0.11.4 to this config update
Create a makefile for the project to help simplify the building / creating of assets. One thing that I need to determine is if the dependency chain still requires all the specific target components or can instances be booted up with the simple reference to the aws_instance.
It was noticed that these tools are broken on the custom kali instance.
Do a full system update, install guacamole, document the new git repos, remove oscp vpn connection file, check new system for any sensitive data (aws keys, software license, purge logs). Aim to automate all these checks...
CircleCI was not kicking off for some reason and I only get failure emails. I started the build manually and realized it wasn't triggered recently. Upon investigation I realized there was a gap in builds CICD builds - there are changes which have not been sanity checked by the build process & in addition there are some upstream terraform updates that need to be tested.
Todo:
See Upstream Terraform issue currently causing the main cicd failure: hashicorp/terraform#23333
Hi,
Can you please share the AMI's? I've submitted the form.
Also if you can provide the AMI ID's would be easier to search.
Thanks in advance!
Should be easy to get this on Kali / Commando, adding scope to the v2 AMIs. The targets likely not have this feature.
Pre-BH 2019 a market analysis was performed which obtained 200+ responses in <72 hrs. The medium post was published outlining the learning tracks. Ideally we can provide a set of objectives w/ tasks to help individuals document their knowledge / learning automatically. A big task, let's first start highlighting the learning paths and inspiring more individuals to perform self-learning by signing-up for the AMI's
Can you share the AMI's with me? I filled out the form and supplied the necessary info.
Simply need to remove the ${
and }
from the entries below:
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organization_access_role/main.tf line 19, in resource "aws_iam_role" "default":
19: name = "${var.role_name}"
--
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organization_access_role/main.tf line 20, in resource "aws_iam_role" "default":
20: assume_role_policy = "${data.aws_iam_policy_document.assume_role.json}"
--
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organization_access_role/main.tf line 27, in resource "aws_iam_role_policy_attachment" "default":
27: role = "${aws_iam_role.default.name}"
--
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organization_access_role/main.tf line 28, in resource "aws_iam_role_policy_attachment" "default":
28: policy_arn = "${var.policy_arn}"
--
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organizational-units/devops-workflow-terraform-aws-organizational-units-c917873/provider.tf line 2, in provider "aws":
2: region = "${var.aws_region}"
--
Warning: Interpolation-only expressions are deprecated
on .terraform/modules/organizational-units/devops-workflow-terraform-aws-organizational-units-c917873/provider.tf line 5, in provider "aws":
5: profile = "${var.aws_profile}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/gateways.tf line 2, in resource "aws_internet_gateway" "gw":
2: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/gateways.tf line 6, in resource "aws_nat_gateway" "nat-a":
6: allocation_id = "${aws_eip.nat-a.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/gateways.tf line 7, in resource "aws_nat_gateway" "nat-a":
7: subnet_id = "${aws_subnet.attacker_subnet.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/gateways.tf line 11, in resource "aws_nat_gateway" "nat-b":
11: allocation_id = "${aws_eip.nat-b.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/gateways.tf line 12, in resource "aws_nat_gateway" "nat-b":
12: subnet_id = "${aws_subnet.target_subnet.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 2, in resource "aws_route_table" "public-a":
2: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 6, in resource "aws_route_table" "public-a":
6: gateway_id = "${aws_internet_gateway.gw.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 16, in resource "aws_route_table_association" "public-a":
16: subnet_id = "${aws_subnet.attacker_subnet.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 17, in resource "aws_route_table_association" "public-a":
17: route_table_id = "${aws_route_table.public-a.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 22, in resource "aws_route_table" "public-b":
22: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 26, in resource "aws_route_table" "public-b":
26: gateway_id = "${aws_internet_gateway.gw.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 36, in resource "aws_route_table_association" "public-b":
36: subnet_id = "${aws_subnet.target_subnet.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 37, in resource "aws_route_table_association" "public-b":
37: route_table_id = "${aws_route_table.public-b.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 41, in resource "aws_route_table" "private-a":
41: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 45, in resource "aws_route_table" "private-a":
45: nat_gateway_id = "${aws_nat_gateway.nat-a.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 55, in resource "aws_route_table_association" "private-a":
55: subnet_id = "${aws_subnet.private-a.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 56, in resource "aws_route_table_association" "private-a":
56: route_table_id = "${aws_route_table.private-a.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 60, in resource "aws_route_table" "private-b":
60: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 64, in resource "aws_route_table" "private-b":
64: nat_gateway_id = "${aws_nat_gateway.nat-b.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 74, in resource "aws_route_table_association" "private-b":
74: subnet_id = "${aws_subnet.private-b.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/routes.tf line 75, in resource "aws_route_table_association" "private-b":
75: route_table_id = "${aws_route_table.private-b.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 2, in resource "aws_subnet" "attacker_subnet":
2: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 3, in resource "aws_subnet" "attacker_subnet":
3: cidr_block = "${var.cidr}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 4, in resource "aws_subnet" "attacker_subnet":
4: availability_zone = "${data.aws_availability_zones.available.names[1]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 18, in resource "aws_subnet" "target_subnet":
18: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 20, in resource "aws_subnet" "target_subnet":
20: availability_zone = "${data.aws_availability_zones.available.names[0]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 33, in resource "aws_subnet" "malware_subnet":
33: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 35, in resource "aws_subnet" "malware_subnet":
35: availability_zone = "${data.aws_availability_zones.available.names[1]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 49, in resource "aws_subnet" "honeypot_subnet":
49: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 51, in resource "aws_subnet" "honeypot_subnet":
51: availability_zone = "${data.aws_availability_zones.available.names[1]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 65, in resource "aws_subnet" "private-a":
65: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 67, in resource "aws_subnet" "private-a":
67: availability_zone = "${data.aws_availability_zones.available.names[0]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 80, in resource "aws_subnet" "private-b":
80: vpc_id = "${aws_vpc.main.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/network/subnets.tf line 82, in resource "aws_subnet" "private-b":
82: availability_zone = "${data.aws_availability_zones.available.names[1]}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 9, in resource "aws_instance" "kali":
9: count = "${var.kali_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 10, in resource "aws_instance" "kali":
10: ami = "${data.aws_ami.kali.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 11, in resource "aws_instance" "kali":
11: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 12, in resource "aws_instance" "kali":
12: subnet_id = "${element(local.pen_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 14, in resource "aws_instance" "kali":
14: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 15, in resource "aws_instance" "kali":
15: user_data = "${file("../../modules/infrastructure/cloud-init/kali.yml")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 29, in resource "aws_instance" "commando":
29: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 30, in resource "aws_instance" "commando":
30: ami = "${data.aws_ami.commando.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 31, in resource "aws_instance" "commando":
31: instance_type = "${var.instance_type_win}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 32, in resource "aws_instance" "commando":
32: subnet_id = "${element(local.pen_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 34, in resource "aws_instance" "commando":
34: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 48, in resource "aws_instance" "r7vm":
48: count = "${var.kali_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 50, in resource "aws_instance" "r7vm":
50: ami = "${data.aws_ami.r7.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 51, in resource "aws_instance" "r7vm":
51: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 53, in resource "aws_instance" "r7vm":
53: subnet_id = "${element(local.pen_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 55, in resource "aws_instance" "r7vm":
55: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 70, in resource "aws_instance" "commandov2":
70: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 71, in resource "aws_instance" "commandov2":
71: ami = "${data.aws_ami.commandov2.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 72, in resource "aws_instance" "commandov2":
72: instance_type = "${var.instance_type_commandov2}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 73, in resource "aws_instance" "commandov2":
73: subnet_id = "${element(local.pen_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/attackers.tf line 75, in resource "aws_instance" "commandov2":
75: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/aws_key_pairs.tf line 3, in resource "aws_key_pair" "circleci_key":
3: public_key = "${file("../../keys/circleci_terraform.pub")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 9, in resource "aws_instance" "fbctf":
9: count = "${var.fbctf_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 11, in resource "aws_instance" "fbctf":
11: ami = "${data.aws_ami.ubuntu1604.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 12, in resource "aws_instance" "fbctf":
12: instance_type = "${var.instance_type_docker}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 14, in resource "aws_instance" "fbctf":
14: subnet_id = "${element(local.fbctf_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 18, in resource "aws_instance" "fbctf":
18: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 20, in resource "aws_instance" "fbctf":
20: user_data = "${file("${var.fbctf_user_data}")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/ctf.playground.tf line 24, in resource "aws_instance" "fbctf":
24: volume_size = "${var.fbctf_root_vol_size}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 10, in resource "aws_instance" "dl-wef":
10: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 11, in resource "aws_instance" "dl-wef":
11: ami = "${data.aws_ami.detection-wef.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 12, in resource "aws_instance" "dl-wef":
12: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 13, in resource "aws_instance" "dl-wef":
13: subnet_id = "${element(local.cyberRange_detection_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 15, in resource "aws_instance" "dl-wef":
15: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 29, in resource "aws_instance" "dl-dc":
29: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 30, in resource "aws_instance" "dl-dc":
30: ami = "${data.aws_ami.detection-dc.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 31, in resource "aws_instance" "dl-dc":
31: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 32, in resource "aws_instance" "dl-dc":
32: subnet_id = "${element(local.cyberRange_detection_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 34, in resource "aws_instance" "dl-dc":
34: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 47, in resource "aws_instance" "dl-win10":
47: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 48, in resource "aws_instance" "dl-win10":
48: ami = "${data.aws_ami.detection-dc.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 49, in resource "aws_instance" "dl-win10":
49: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 50, in resource "aws_instance" "dl-win10":
50: subnet_id = "${element(local.cyberRange_detection_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 52, in resource "aws_instance" "dl-win10":
52: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 66, in resource "aws_instance" "dl-logger":
66: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 67, in resource "aws_instance" "dl-logger":
67: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 68, in resource "aws_instance" "dl-logger":
68: ami = "${data.aws_ami.logger_ami.image_id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 74, in resource "aws_instance" "dl-logger":
74: subnet_id = "${element(local.cyberRange_detection_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/detection.lab.tf line 76, in resource "aws_instance" "dl-logger":
76: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 9, in resource "aws_instance" "tpot-full-build":
9: count = "${var.tpot_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 11, in resource "aws_instance" "tpot-full-build":
11: ami = "${data.aws_ami.debianstretch.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 12, in resource "aws_instance" "tpot-full-build":
12: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 13, in resource "aws_instance" "tpot-full-build":
13: subnet_id = "${element(local.subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 15, in resource "aws_instance" "tpot-full-build":
15: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 16, in resource "aws_instance" "tpot-full-build":
16: user_data = "${file("../../modules/infrastructure/cloud-init/tpot.setup.yml")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 20, in resource "aws_instance" "tpot-full-build":
20: volume_size = "${var.tpot_root_vol_size}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 33, in resource "aws_instance" "tpot":
33: count = "${var.tpot_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 35, in resource "aws_instance" "tpot":
35: ami = "${data.aws_ami.tpot.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 36, in resource "aws_instance" "tpot":
36: instance_type = "${var.instance_type_tpot}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 37, in resource "aws_instance" "tpot":
37: subnet_id = "${element(local.subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 39, in resource "aws_instance" "tpot":
39: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/honeyPots.tf line 43, in resource "aws_instance" "tpot":
43: volume_size = "${var.tpot_root_vol_size}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 9, in resource "aws_instance" "flarevm-win7":
9: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 10, in resource "aws_instance" "flarevm-win7":
10: ami = "${data.aws_ami.flare.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 12, in resource "aws_instance" "flarevm-win7":
12: subnet_id = "${element(local.malware_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 14, in resource "aws_instance" "flarevm-win7":
14: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 30, in resource "aws_instance" "cuckoo_guest":
30: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 31, in resource "aws_instance" "cuckoo_guest":
31: ami = "${data.aws_ami.win7.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 32, in resource "aws_instance" "cuckoo_guest":
32: instance_type = "${var.instance_type_win}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 33, in resource "aws_instance" "cuckoo_guest":
33: subnet_id = "${element(local.malware_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 35, in resource "aws_instance" "cuckoo_guest":
35: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 51, in resource "aws_instance" "cuckoo-host-ubuntu":
51: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 52, in resource "aws_instance" "cuckoo-host-ubuntu":
52: ami = "${data.aws_ami.cuckoo-host.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 53, in resource "aws_instance" "cuckoo-host-ubuntu":
53: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 54, in resource "aws_instance" "cuckoo-host-ubuntu":
54: subnet_id = "${element(local.malware_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 55, in resource "aws_instance" "cuckoo-host-ubuntu":
55: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 70, in resource "aws_instance" "remnux":
70: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 71, in resource "aws_instance" "remnux":
71: ami = "${data.aws_ami.remnux.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 72, in resource "aws_instance" "remnux":
72: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 73, in resource "aws_instance" "remnux":
73: subnet_id = "${element(local.malware_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 74, in resource "aws_instance" "remnux":
74: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/malware.tf line 76, in resource "aws_instance" "remnux":
76: user_data = "${file("../../modules/infrastructure/cloud-init/remnux.ssh.enable.yml")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/range_users.tf line 14, in resource "aws_iam_access_key" "cloudgoat":
14: user = "${aws_iam_user.cloudgoat.name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/range_users.tf line 20, in resource "aws_iam_user_policy" "cloudgoat":
20: user = "${aws_iam_user.cloudgoat.name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 4, in resource "aws_security_group" "tpot":
4: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 53, in resource "aws_security_group" "fbctf":
53: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 94, in resource "aws_security_group" "kali":
94: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 145, in resource "aws_security_group" "targets":
145: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 197, in resource "aws_security_group" "logger":
197: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 251, in resource "aws_security_group" "windows":
251: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups.tf line 302, in resource "aws_security_group" "malware":
302: vpc_id = "${var.vpc-id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups_rules.tf line 9, in resource "aws_security_group_rule" "allow_all_between_webgoat_and_kali":
9: security_group_id = "${aws_security_group.targets.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups_rules.tf line 18, in resource "aws_security_group_rule" "allow_all_between_kali_and_webgoat":
18: security_group_id = "${aws_security_group.kali.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/security_groups_rules.tf line 27, in resource "aws_security_group_rule" "allow_malware_to_malware":
27: security_group_id = "${aws_security_group.malware.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 3, in resource "aws_instance" "cr_ms3_2k8":
3: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 5, in resource "aws_instance" "cr_ms3_2k8":
5: ami = "${data.aws_ami.ms3_2k8.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 6, in resource "aws_instance" "cr_ms3_2k8":
6: instance_type = "${var.instance_type_win}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 8, in resource "aws_instance" "cr_ms3_2k8":
8: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 11, in resource "aws_instance" "cr_ms3_2k8":
11: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 25, in resource "aws_instance" "ami_ms3_2k12":
25: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 26, in resource "aws_instance" "ami_ms3_2k12":
26: ami = "${data.aws_ami.ms3_2k12.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 27, in resource "aws_instance" "ami_ms3_2k12":
27: instance_type = "${var.instance_type_win}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 28, in resource "aws_instance" "ami_ms3_2k12":
28: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 31, in resource "aws_instance" "ami_ms3_2k12":
31: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 44, in resource "aws_instance" "cr_ms3_nix":
44: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 45, in resource "aws_instance" "cr_ms3_nix":
45: ami = "${data.aws_ami.ms3_nix.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 46, in resource "aws_instance" "cr_ms3_nix":
46: instance_type = "${var.instance_type_docker}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 47, in resource "aws_instance" "cr_ms3_nix":
47: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.metasplotables.tf line 49, in resource "aws_instance" "cr_ms3_nix":
49: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 10, in resource "aws_instance" "win2008":
10: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 11, in resource "aws_instance" "win2008":
11: ami = "${data.aws_ami.win2k8.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 12, in resource "aws_instance" "win2008":
12: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 13, in resource "aws_instance" "win2008":
13: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 15, in resource "aws_instance" "win2008":
15: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 27, in resource "aws_instance" "win7":
27: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 28, in resource "aws_instance" "win7":
28: ami = "${data.aws_ami.win7.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 29, in resource "aws_instance" "win7":
29: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 30, in resource "aws_instance" "win7":
30: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 32, in resource "aws_instance" "win7":
32: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 33, in resource "aws_instance" "win7":
33: user_data = "${var.win_bootstrap_user_data}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 45, in resource "aws_instance" "win8":
45: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 46, in resource "aws_instance" "win8":
46: ami = "${data.aws_ami.win8.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 47, in resource "aws_instance" "win8":
47: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 48, in resource "aws_instance" "win8":
48: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 50, in resource "aws_instance" "win8":
50: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 62, in resource "aws_instance" "defender_win2k10":
62: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 63, in resource "aws_instance" "defender_win2k10":
63: ami = "${data.aws_ami.win2k10.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 64, in resource "aws_instance" "defender_win2k10":
64: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 65, in resource "aws_instance" "defender_win2k10":
65: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 67, in resource "aws_instance" "defender_win2k10":
67: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 79, in resource "aws_instance" "win2012":
79: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 80, in resource "aws_instance" "win2012":
80: ami = "${data.aws_ami.win2k12.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 81, in resource "aws_instance" "win2012":
81: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 82, in resource "aws_instance" "win2012":
82: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 84, in resource "aws_instance" "win2012":
84: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 96, in resource "aws_instance" "win2012_RTM":
96: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 97, in resource "aws_instance" "win2012_RTM":
97: ami = "${data.aws_ami.win2k12_RTM.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 98, in resource "aws_instance" "win2012_RTM":
98: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 99, in resource "aws_instance" "win2012_RTM":
99: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 101, in resource "aws_instance" "win2012_RTM":
101: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 113, in resource "aws_instance" "win2016":
113: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 114, in resource "aws_instance" "win2016":
114: ami = "${data.aws_ami.win2k16.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 115, in resource "aws_instance" "win2016":
115: instance_type = "${var.instance_type_win}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 116, in resource "aws_instance" "win2016":
116: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 118, in resource "aws_instance" "win2016":
118: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 119, in resource "aws_instance" "win2016":
119: user_data = "${var.win_bootstrap_user_data}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 131, in resource "aws_instance" "win2019":
131: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 132, in resource "aws_instance" "win2019":
132: ami = "${data.aws_ami.win2k19.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 133, in resource "aws_instance" "win2019":
133: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 134, in resource "aws_instance" "win2019":
134: subnet_id = "${element(local.cyberRange_windows_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/target.windows.tf line 136, in resource "aws_instance" "win2019":
136: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 11, in resource "aws_instance" "cr_skytower":
11: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 12, in resource "aws_instance" "cr_skytower":
12: ami = "${data.aws_ami.skytower.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 13, in resource "aws_instance" "cr_skytower":
13: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 14, in resource "aws_instance" "cr_skytower":
14: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 16, in resource "aws_instance" "cr_skytower":
16: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 28, in resource "aws_instance" "cr_stapler":
28: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 29, in resource "aws_instance" "cr_stapler":
29: ami = "${data.aws_ami.stapler.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 30, in resource "aws_instance" "cr_stapler":
30: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 31, in resource "aws_instance" "cr_stapler":
31: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 33, in resource "aws_instance" "cr_stapler":
33: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 45, in resource "aws_instance" "cr_vulnos":
45: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 46, in resource "aws_instance" "cr_vulnos":
46: ami = "${data.aws_ami.vulnos.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 47, in resource "aws_instance" "cr_vulnos":
47: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 48, in resource "aws_instance" "cr_vulnos":
48: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 50, in resource "aws_instance" "cr_vulnos":
50: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 62, in resource "aws_instance" "cr_sickos":
62: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 63, in resource "aws_instance" "cr_sickos":
63: ami = "${data.aws_ami.sickos.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 64, in resource "aws_instance" "cr_sickos":
64: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 65, in resource "aws_instance" "cr_sickos":
65: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 67, in resource "aws_instance" "cr_sickos":
67: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 79, in resource "aws_instance" "cr_mrrobot":
79: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 80, in resource "aws_instance" "cr_mrrobot":
80: ami = "${data.aws_ami.mrrobot.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 81, in resource "aws_instance" "cr_mrrobot":
81: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 82, in resource "aws_instance" "cr_mrrobot":
82: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 84, in resource "aws_instance" "cr_mrrobot":
84: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 96, in resource "aws_instance" "cr_fristileaks":
96: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 97, in resource "aws_instance" "cr_fristileaks":
97: ami = "${data.aws_ami.fristileaks.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 98, in resource "aws_instance" "cr_fristileaks":
98: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 99, in resource "aws_instance" "cr_fristileaks":
99: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 101, in resource "aws_instance" "cr_fristileaks":
101: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 113, in resource "aws_instance" "cr_hackinos":
113: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 114, in resource "aws_instance" "cr_hackinos":
114: ami = "${data.aws_ami.hackinos.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 115, in resource "aws_instance" "cr_hackinos":
115: instance_type = "${var.instance_type}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 116, in resource "aws_instance" "cr_hackinos":
116: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 118, in resource "aws_instance" "cr_hackinos":
118: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 130, in resource "aws_instance" "cr_bulldog":
130: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 131, in resource "aws_instance" "cr_bulldog":
131: ami = "${data.aws_ami.bulldog.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 132, in resource "aws_instance" "cr_bulldog":
132: instance_type = "${var.instance_type_docker}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 133, in resource "aws_instance" "cr_bulldog":
133: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 135, in resource "aws_instance" "cr_bulldog":
135: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 147, in resource "aws_instance" "cr_myhouse7":
147: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 148, in resource "aws_instance" "cr_myhouse7":
148: ami = "${data.aws_ami.myhouse7.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 149, in resource "aws_instance" "cr_myhouse7":
149: instance_type = "${var.instance_type_docker}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 150, in resource "aws_instance" "cr_myhouse7":
150: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 152, in resource "aws_instance" "cr_myhouse7":
152: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 164, in resource "aws_instance" "docker":
164: count = "${var.docker_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 166, in resource "aws_instance" "docker":
166: ami = "${data.aws_ami.ubuntu.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 167, in resource "aws_instance" "docker":
167: instance_type = "${var.instance_type_docker}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 168, in resource "aws_instance" "docker":
168: subnet_id = "${element(local.cyberRange_subnets_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 170, in resource "aws_instance" "docker":
170: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/targets.nix.tf line 171, in resource "aws_instance" "docker":
171: user_data = "${file("../../modules/infrastructure/cloud-init/docker.targets.yml")}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 9, in resource "aws_instance" "nessus":
9: count = "${var.kali_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 11, in resource "aws_instance" "nessus":
11: ami = "${data.aws_ami.nessus.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 12, in resource "aws_instance" "nessus":
12: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 13, in resource "aws_instance" "nessus":
13: subnet_id = "${element(local.tenable_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 15, in resource "aws_instance" "nessus":
15: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 30, in resource "aws_instance" "sc":
30: count = "${var.kali_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 32, in resource "aws_instance" "sc":
32: ami = "${data.aws_ami.sc.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 33, in resource "aws_instance" "sc":
33: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 34, in resource "aws_instance" "sc":
34: subnet_id = "${element(local.tenable_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 36, in resource "aws_instance" "sc":
36: key_name = "${aws_key_pair.circleci_key.key_name}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 52, in resource "aws_instance" "nnm":
52: count = "${var.kali_ct}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 54, in resource "aws_instance" "nnm":
54: ami = "${data.aws_ami.nnm.id}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 55, in resource "aws_instance" "nnm":
55: instance_type = "${var.instance_type_kali}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 56, in resource "aws_instance" "nnm":
56: subnet_id = "${element(local.tenable_subnet_ids, count.index)}"
--
Warning: Interpolation-only expressions are deprecated
on ../../modules/infrastructure/assets/secdevops/tenable.tf line 58, in resource "aws_instance" "nnm":
58: key_name = "${aws_key_pair.circleci_key.key_name}"
What's the typical turnaround time for having the AMI's shared with us? I have completed the form.
We have found you may be affected by an issue present in the version 2.0.0 of Windows Enhanced Network Architecture (ENA) drivers installed by the EC2 ImportImage API between March 15, 2019 and June 4, 2019. Since then, the API has been reverted to use version 1.5 of the drivers where this issue isn’t present. If you created Windows ENA enabled AMIs through the EC2 ImportImage API calls between March 15, 2019 and June 4, 2019, you will have to kick off a new task to migrate to the fixed drivers[1]. You can also manually install the updated drivers onto your existing AMIs by following the steps outlined for downloading and enabling ENA drivers.[2]
Should you have any questions or concerns, or have trouble manually updating drivers, please contact the AWS Support team via Support Center [3].
[1] https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
[2] https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking-ena.html#enable-enhanced-networking-ena-WIN
[3] https://aws.amazon.com/support
Terraform only provides the create / destroy usecase, Vagrant supports the entire lifecyle yet does not create the dependencies needed (like vpc, subnet, sec groups). Combining these 2 items automatically requires a custom solution
so let's first give power users the ability to plug-in key information into a yaml & share the vagrant file with other users...
Caution - this will allow other users the ability to create many assets in the same environment - so consider offensive / defensive / target type yamls...
DoD:
https://stackoverflow.com/questions/42779697/how-to-remove-an-aws-instance-volume-using-terraform
Hi,
I got 2 issues when walking through the setup process... at the point of initializing Terraform
Initialize terraform:
- execute:
- cd $env.HOMEPATH\Desktop\CyberRange\terraform\environments\development
- terraform.exe init
cd : Cannot find path '...........\CyberRange\terraform\environments\development' because it does not exist.
At line:1 char:1
Initializing modules...
Initializing the backend...
Error: Failed to get existing workspaces: AccessDenied: Access Denied
status code: 403, request id: 29DECxxxxxxxxxxxxx, host id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Any tips as to how to resolve this ?
I dont recall seeing immunity debugger installed on commando, makes sense to see if we can create an inspec test for this as well as for the kali bug #82
Still have not had the AMI's shared with me.
I would like to recommend using Packer for building the system images. It would help with maintenance and updates. In addition it could allow for faster deployments in additional AWS regions and potentially other providers. I would like to assist in this development but would require additional details on the current system builds.
Merging w/ detection lab requires static definitions of IP to be converted into some dynamic form. Adding custom, privately hosted fqdn this to the backlog of improvements here
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html
when creating the full lab there are times when IP conflicts occur due to detection lab hardcoded IPs. There is a relatively easy fix: create the detection lab assets first, then trigger the creation of the other assets.
Marking as 3rd party bug simply due to the hardcoded ips within detection lab
I established a new dedicated account to build out the range. I am hitting ec2 vCPU limits in us-east-1 and need to request increase, looking for guidance on the current required number based on resources. I am trying to calculate based on the terraform instance size configs, but having it documented in the appropriate place may simplify for new users.
https://github.com/secdevops-cuse/Reconnoitre/blob/master/Reconnoitre/lib/config.json
Create an AMI for T-Pot so folks can have sub-1 minute startups. Create documentation on building your own T-Pot for SecDevOps Track...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.