terraform deployment for the rock8s staging cluster
The terraform will be applied using a GitHub action when it is
merged into the main
branch.
command | description |
---|---|
make allow-destroy |
allow resource to be destroyed |
make apply |
applies terraform infrastructure |
make clean |
clean repo |
make destroy |
destroys terraform infrastructure |
make format |
formats terraform files |
make init |
initializes terraform |
make kubeconfig |
authenticate local environment with the kube cluster |
make lint |
lints terraform files |
make plan |
creates terraform plan |
make prevent-destroy |
prevent resources from being destroyed |
make purge |
purge repo |
make refresh |
refreshes terraform state to match physical resources |
make apply
If you are using Windows, please use the Windows Subsystem for Linux (WSL) with Debian.
You can install the aws cli on OSX and Linux using the following command, assuming you have pip installed and setup.
sudo pip install awscli
Make sure you configure the aws cli after it is installed.
aws configure