-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprovider.tf
More file actions
32 lines (28 loc) · 948 Bytes
/
provider.tf
File metadata and controls
32 lines (28 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
terraform {
# please don't pin terraform versions.
# stating a required minimum version should be sufficient for most use cases.
required_version = "> 1.3"
# Dummy values are present only so `terraform validate` can validate the
# backend schema. These values are overridden by the Makefile during init.
backend "s3" {
bucket = "validation-only"
key = "validation-only.tfstate"
region = "us-east-1"
}
# please don't pin provider versions unless there is a known bug being worked around.
# please add comment-doc when pinning to reference upstream bugs/docs that show the reason for the pin.
required_providers {
sops = {
source = "carlpett/sops"
}
github = {
source = "integrations/github"
version = "~> 6.0"
}
}
}
provider "sops" {}
provider "github" {
token = data.sops_file.secret_vars.data["github_token"]
owner = data.sops_file.secret_vars.data["github_owner"]
}