- Make sure Ansible is installed:
- Make sure Terraform is installed:
- Generate a new key pair:
cd <project-root>
ssh-keygen -t ed25519 -f devops_aws_key -c [email protected]
chmod 400 devops_aws_key*
- Make sure your AWS credentials exist in this form:
cat $HOME/.aws/credentials
[aws]
aws_access_key_id = XXXXXXXXXX
aws_secret_access_key = YYYYYYYYYY
- Run the project
cd src
terraform init
terraform plan
terraform apply