Provide the credential to terraform as described in Terraform docs
in testing we used:
export AWS_ACCESS_KEY_ID="anaccesskey"
export AWS_SECRET_ACCESS_KEY="asecretkey"
S3 was created manually for tfstate file.
sshkey-gen was used to generate the sskey local and the public key was provided as public_key variable to config in variable.tf
ec2-user@ipaddress -i path/privatekey
http://publicip