Project readme

This commit is contained in:
2023-01-02 23:52:44 +01:00
parent 20f90c129f
commit 387a7f8405

34
README.md Normal file
View File

@@ -0,0 +1,34 @@
# Kazan terraform 🧊
Terraform plan for spinning up kubernetes cluster (named kazan) on local proxmox host.
## Setup
Export credentials for proxmox host:
```
export PM_API_TOKEN_ID=''
export PM_API_TOKEN_SECRET=''
```
Download repo:
```
git clone git@github.com:kevinmidboe/kazan-terraform.git
cd kazan-terraform
```
## Terraform state file
The terraform state (`tf.state` file) is stored in my gcp bucket. If you want change bucket provider/location do so by editing *gcs* backend definition in `main.ts`.
To store locally instead change comment in *local* and out *gcs* in backend definition in `main.ts`.
## Run
If this is first time running tf plans:
```
terraform init
```
then
```
terraform apply
```