-
Notifications
You must be signed in to change notification settings - Fork 2
/
provider.tf
46 lines (39 loc) · 922 Bytes
/
provider.tf
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
terraform {
required_version = ">= 1.0"
required_providers {
consul = {
source = "hashicorp/consul"
}
github = {
source = "integrations/github"
version = "~> 5.45.0"
}
aws = {
source = "hashicorp/aws"
version = "~> 3.70.0"
}
}
backend "consul" {
address = "consul.condi.me"
scheme = "https"
path = "condime/meta_terraform_state"
}
}
provider "github" {
owner = var.github_owner
app_auth {
# https://github.com/organizations/condime/settings/apps/condime-meta-terraform-plans
# https://github.com/organizations/condime/settings/installations/45795139
id = "783580"
installation_id = "45795139"
pem_file = file("${path.module}/.secrets/private_key.pem")
}
}
provider "aws" {
region = "eu-west-2"
default_tags {
tags = {
ManagedBy = "condime/meta-terraform-plans"
}
}
}