Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform v0.12.15 - interpolation warnings #68

Open
cappetta opened this issue Nov 18, 2019 · 1 comment
Open

terraform v0.12.15 - interpolation warnings #68

cappetta opened this issue Nov 18, 2019 · 1 comment

Comments

@cappetta
Copy link
Member

cappetta commented Nov 18, 2019

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}"

@cappetta
Copy link
Member Author

cappetta commented Nov 29, 2019

Files that need to be updated:

it:vagrant> grep -iA4 interpolation-only /tmp/info | grep -i "in resource" | awk '{print $2}' | sort -u

../../modules/infrastructure/assets/network/gateways.tf
../../modules/infrastructure/assets/network/routes.tf
../../modules/infrastructure/assets/network/subnets.tf
../../modules/infrastructure/assets/secdevops/attackers.tf
../../modules/infrastructure/assets/secdevops/aws_key_pairs.tf
../../modules/infrastructure/assets/secdevops/ctf.playground.tf
../../modules/infrastructure/assets/secdevops/detection.lab.tf
../../modules/infrastructure/assets/secdevops/honeyPots.tf
../../modules/infrastructure/assets/secdevops/malware.tf
../../modules/infrastructure/assets/secdevops/range_users.tf
../../modules/infrastructure/assets/secdevops/security_groups.tf
../../modules/infrastructure/assets/secdevops/security_groups_rules.tf
../../modules/infrastructure/assets/secdevops/target.metasplotables.tf
../../modules/infrastructure/assets/secdevops/target.windows.tf
../../modules/infrastructure/assets/secdevops/targets.nix.tf
../../modules/infrastructure/assets/secdevops/tenable.tf
.terraform/modules/organization_access_role/main.tf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant