# xdr live

Live configurations of the environments.

## Testing Locally

To test locally:
1) Make sure a copy of the `xdr-terraform-modules` directory is at the same level as this repository.
2) Change to the directory in which you want to test. (e.g. `cd test/aws-us-gov/mdr-test-malware/006-account-standards`)
3) Run `bin/terragrunt-local` from this repository with the usual terragrunt parameters.

e.g.
```
cd test/aws-us-gov/mdr-test-malware/006-account-standards
~/xdr-terraform-live/bin/terragrunt-local plan
```

(Helpful tip: Create a symbolic link from `bin/` to something in your path)

## Deploying a New Account

1. Copy `000-skeleton` into the directory structure.
2. Edit `account.hcl` and update the `TODO` items.
3. Modify the `*-regional` modules to be appopriate for the regions in the current environment.
