This repo is for my personnal usage only, just to test PVE VM/LXC provisioning, by means of Terraform automation. Please kindly do not submit any PR.
Fork me and play with your own repo.
You need a PVE(Proxmox), accessabile from internet (by Github hosted runners), and an OCI bucket (S3 compatibile).
Once you have following secrets defined in one of your repo's environments, you are good to go.
- AWS_ACCESS_KEY_ID
- AWS_S3_ENDPOINT
- AWS_SECRET_ACCESS_KEY
- BACKEND_BUCKET
- TF_VAR_pm_api_token_id
- TF_VAR_pm_api_token_secret=
- TF_VAR_pm_api_url
Note that
BACKEND_BUCKET
is not very sensitive, you may not want to keep it as a secret, hard code it in your .tf files if you like.
For more info, this repo is a companion repo to my blog Terraform and Github Actions(Chinese only).