Terraform is deployed on the commandline using
make commands configured in the
Please refer to the
govwifi-terraform README for detailed instructions on running Terraform.
The instructions here provide a high level overview of deploying changes in our Terraform
These must be complete in order to deploy Terraform changes:
- On-boarded to GovWifi’s AWS account
- AWS credentials set up on laptop
It’s recommended but not required to use the
Deploy to Staging
govwifi-terraform pull in changes using modules
configured in the Terraform files located in
To deploy Terraform changes to the staging environment, navigate to the project root:
$ cd govwifi-terraform
Ensure the branch is up-to-date by pulling the latest changes from git (
Run the relevant
$ make staging plan
If you are using the
gds-cli, use to the staging GovWifi account:
$ gds aws govwifi-staging -- make staging plan
Deploy to production
The deploy process is very similar to staging.
The production modules in
wifi refers to components in eu-west-1 (Ireland).
Follow the same instructions for staging (i.e., navigate to the root project directory and ensure the branch is up-to-date).
make command for production is:
$ make wifi-london plan
If using the
$ gds aws govwifi -- make wifi-london plan