RhinoSecurityLabs / cloudgoat

CloudGoat is Rhino Security Labs' "Vulnerable by Design" AWS deployment tool
BSD 3-Clause "New" or "Revised" License
2.88k stars 597 forks source link

ecs_takeover setup error #247

Closed odgrso closed 6 months ago

odgrso commented 6 months ago

while creating the ecs_takeover scenario

╷
│ 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: 29e987b8-5bcf-45f8-b00c-ffd0f8d10244
│ 
│   with aws_instance.vulnsite,
│   on ec2.tf line 23, in resource "aws_instance" "vulnsite":
│   23: resource "aws_instance" "vulnsite" {
│ 
╵
╷
│ 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: 6a63f99f-108e-4173-9937-923faf8ecdd3
│ 
│   with aws_instance.vault,
│   on ec2.tf line 37, in resource "aws_instance" "vault":
│   37: resource "aws_instance" "vault" {
│ 
╵
andrew-aiken commented 6 months ago

Could you share what AMI the instances were being deployed with.

Should have been fixed in this pr

odgrso commented 6 months ago

I was able to deploy successfully after running it as pr Thank you