flake/infra/secrets.tf

12 lines
187 B
Terraform
Raw Normal View History

2024-09-21 16:21:30 +00:00
data "sops_file" "secrets" {
source_file = "secrets.yaml"
}
locals {
secrets = yamldecode(data.sops_file.secrets.raw)
}
provider "vultr" {
api_key = local.secrets.vultr.api_key
}