Install Git
Install Cookiecutter
Install Terraform
Create Git Repository
Create an account in AWS console
Under account name in AWS console go to security credentials and create access key for root user
cookiecutter git@github.com:adolya/cact-template-base.gitConfirm to switch local state to S3 for further automation
Open terraform.tfstate and search for
"outputs": {
"base_info": {
"value": {Instruction can be found here
AWS_ACCESS_KEY_ID
with value from tfstate output: github/base: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
with value from tfstate output: github/base: AWS_SECRET_ACCESS_KEY
admin_user with admin_user_password
After account infrastructure defined as code. Go to AWS console security credentials and deactivate/delete access key we used at the begining
Also enable Two Factor Authentication for your root account. And use the admin_user, for your future needs.
If you wish to enable billing for non-root user follow this