cloudgoat
cloudgoat copied to clipboard
Error deploying ec2_takeover senario
Not sure what is wrong but I get the following error when deploying the ec2_takeover senario;
Error: creating EC2 Instance: InvalidParameterValue: The t2.micro instance type does not support an AMI with a boot mode of UEFI. Only instance types built on the Nitro System support UEFI. Specify an instance type that supports UEFI, and try again.
│ status code: 400, request id:
│
│ with aws_instance.vulnsite,
│ on ec2.tf line 23, in resource "aws_instance" "vulnsite":
│ 23: resource "aws_instance" "vulnsite" {
Could you please share the AMI that was being used
Didn't specify an AIM. Just ran ./cloudgoat create ec2_takeover
. It failed the third time I created and destroyed (./cloudgoat destroyed ec2_takeover
) the senario. The first 2 times it worked flawlessly.
Do you have the latest version of the repository pulled?
From looking at the line where the error is occurring (23) its probably the version before the fix https://github.com/RhinoSecurityLabs/cloudgoat/commits/master/scenarios/ecs_takeover/terraform/ec2.tf