yn5 / aws-account-init

Initial infra for a fresh AWS account

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS account infra

Initial infra structure for a fresh AWS account.

Prerequisites

  aws configure sso
aws sso login --profile <aws-profile>

Getting started

  1. Install dependencies

    npm i
  2. Deploy the stack

    DOMAIN=<your-domain> BUDGET_NOTIFICATION_EMAILS=<comma-separated-list-of-emails> npm run deploy -- --profile <aws-profile>

    The DOMAIN and BUDGET_NOTIFICATION_EMAILS environment variables are both optional. There presence controls wether the related stack will be deployed or not.

  3. If the DOMAIN environment is set and thus the domains-stack is deploying for the first time, you will have to point the DNS of your domain to the Name Servers of the Hosted Zone that is being created by this stack. This so the certificate created by ACM can be verified while deploying.

TODO

About

Initial infra for a fresh AWS account


Languages

Language:TypeScript 84.9%Language:JavaScript 13.9%Language:Shell 1.2%