This repository aims to simplify the process of getting a drupal/cms
app running in cloud.gov
Important
This script is very much a work in progress. All aspects should be independently validated before using.
PRs and ideas for improvement VERY much welcome.
- Clone this repository
- Run
./bootstrap.sh PATH_TO_NEW_DIR
bootstrap.sh
will finish by presenting you in addev ssh
console- At that command line, run
./init.sh
- Use terraform to deploy your app
Follow these steps (starting from within your app directory) to deploy your app
cd terraform
terraform init
terraform validate
- Create a
terraform/vars.auto.tfvars
file to define the required variables terraform apply
to deploy to your new space
This template does not do many things needed for a well-architected federal application. You are responsible for:
- Updating the terraform modules for proper multiple environment setup and shared backend
- Implementing egress control for the space
- CI/CD tests and scans
- Compliance documentation
- Proper authentication either through SSO or with MFA
- etc.