11 lines
187 B
HCL
11 lines
187 B
HCL
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
|
|
}
|