secdevops-cuse / CyberRange

The Open-Source AWS Cyber Range
https://medium.com/aws-cyber-range
464 stars 90 forks source link

Failed to get existing workspaces: AccessDenied: Access Denied #42

Closed me009 closed 5 years ago

me009 commented 5 years ago

Hi,

I got 2 issues when walking through the setup process... at the point of initializing Terraform

  1. From the path below, the 'development' folder does not exist in the folder structure..

Initialize terraform:

cd : Cannot find path '...........\CyberRange\terraform\environments\development' because it does not exist. At line:1 char:1

  1. I get this error message when I try to run terraform.exe init

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 ?

cappetta commented 5 years ago

hi @me009 - the development folder was replaced by the region (us-east-1 / eu-west-2) with the goal of keeping things simple. I found the source of that documentation error and I'm planning to update it later. I suspect that is the cause of the access denied error.

to fix it - perform a cd $env.HOMEPATH\Desktop\CyberRange\terraform\environments\eu-west-2 then the terraform init step

cappetta commented 5 years ago

minor terraform code updates were preformed. 2003 AMI is decom'd ; 2008 AMI required an updated data filter. fixed and pushed