mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:14:38 +07:00
479016d737
Instead of Ansible
12 lines
295 B
HCL
12 lines
295 B
HCL
resource "kubernetes_secret" "terraform_secrets" {
|
|
metadata {
|
|
name = "terraform-secrets"
|
|
namespace = "tekton-pipelines"
|
|
}
|
|
|
|
data = {
|
|
"credentials.tfrc.json" = file("~/.terraform.d/credentials.tfrc.json")
|
|
"terraform.tfvars" = file("${path.root}/terraform.tfvars")
|
|
}
|
|
}
|