SSH into the AWSCLI instance.
ssh -i ditc.pem email@example.com
Go to devopsinthecloud/infrastructure/features/ directory.
Open the target.feature file.
sudo vim target.feature
Enter the command to run infrastructure tests remotely. You can get the IP Address of the target environment by going to the Outputs tab of the target environment stack in CloudFormation.
cucumber target.feature env_ip=IPADDRESS_TARGETENV env_user=ec2-user
NOTE: These infrastructure tests are run as part of the TargetEnvironment job.