Commit Graph

11 Commits

Author SHA1 Message Date
Khue Doan
21fac43e57 refactor: replace Terraform binary with OpenTofu
OpenTofu is a drop-in replacement for Terraform, so aside from changing
the binary, it only needs some minor adjustments.
2024-11-24 00:09:15 +07:00
Khue Doan
5915ebb9d1 refactor(external): just use nvim to edit tfvars
The previous setup using Ansible is kinda unessesary since it just
edit the same tfvars file.
2024-01-20 11:48:25 +07:00
Khue Doan
dc7d1256a0 build: set kubeconfig from global Makefile
Separate build steps in Tekton can use service account instead of config file
2022-05-14 20:06:57 +07:00
Khue Doan
910321b0d5 build(external): auto approve Terraform apply
Use plan if you just want to plan
2022-03-15 21:40:28 +07:00
Khue Doan
479016d737 refactor: inject Terraform secrets with Terraform
Instead of Ansible
2021-12-29 22:51:36 +07:00
Khue Doan
6aa12a1bb9 fix(external): add missing env var to Makefile 2021-12-26 10:52:02 +07:00
Khue Doan
c1ff305343 refactor(external): create terraform secrets after apply 2021-12-25 10:58:54 +07:00
Khue Doan
08513dcda5 refactor(external): ask to enter variables if var file does not exist 2021-12-25 02:34:49 +07:00
Khue Doan
210fa77dcc build(external): add plan target 2021-12-23 00:18:09 +07:00
Khue Doan
ed1a4e8aef build(external): touch Terraform lock file after init
So the last modified date on the lock file is older than the versions
file
2021-12-11 23:48:26 +07:00
Khue Doan
d80de3c69a build(external): add Makefile for Terraform 2021-12-11 12:12:18 +07:00