Mordor AWS Error - Region Message
Cyb3rWard0g opened this issue · 2 comments
Cyb3rWard0g commented
Im in Europe and I tried to run latest AWS setup, and I got the following error:
aws_instance.hr001 (remote-exec): C:\Users\User>powershell Restart-Computer -Force
aws_instance.hr001: Creation complete after 6m50s [id=i-0f6b7de902d27a413]
Error: error executing "/tmp/terraform_425406088.sh": Process exited with status 5
Error: Error launching source instance: PendingVerification: Your request for accessing resources in this region is being validated, and you will not be able to launch additional resources in this region until the validation is complete. We will notify you by email once your request has been validated. While normally resolved within minutes, please allow up to 4 hours for this process to complete. If the issue still persists, please let us know by writing to aws-verification@amazon.com for further assistance.
status code: 400, request id: 2ca526e8-3587-4200-9670-c709ffa11bc5
on main.tf line 246, in resource "aws_instance" "helk":
246: resource "aws_instance" "helk" {
is there a way to dynamically chose regions rather than only use US-WEST?
jsecurity101 commented
@Cyb3rWard0g
Unfortunately No. You would have to copy each AMI used for the lab, to the respective region you would like it to be in.
You have to use AMI's because Amazon doesn't have Windows machines in the AMI community for you to pull from.
Cyb3rWard0g commented
Go it! Thank you man. After a few minutes, it let me re-build it. Still got another error, but I will open an issue.