12 lines
187 B
Terraform
12 lines
187 B
Terraform
|
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
|
||
|
}
|