-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.tf
More file actions
32 lines (27 loc) · 1.12 KB
/
main.tf
File metadata and controls
32 lines (27 loc) · 1.12 KB
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
terraform {
backend "s3" {
encrypt = true
bucket = ""
region = "us-west-2"
key = "indent/terraform.tfstate"
}
}
# Indent + GitHub Issues Integration
# Details: https://github.com/indentapis/integrations/tree/c31c0a2f5371078d198ff8ae1a847404c628620e/packages/stable/indent-integration-github-issue
# Last Change: https://github.com/indentapis/integrations/commit/c31c0a2f5371078d198ff8ae1a847404c628620e
module "idt-github-issue-webhook" {
source = "git::https://github.com/indentapis/integrations//terraform/modules/indent_runtime_aws_lambda"
name = "idt-github-issue-webhook"
indent_webhook_secret = var.indent_webhook_secret
artifact = {
bucket = "indent-artifacts-us-west-2"
function_key = "webhooks/aws/lambda/github-issue-c31c0a2f5371078d198ff8ae1a847404c628620e-function.zip"
deps_key = "webhooks/aws/lambda/github-issue-c31c0a2f5371078d198ff8ae1a847404c628620e-deps.zip"
}
env = {
GH_TOKEN = var.gh_token
GH_ORG = var.gh_org
GH_REPO = var.gh_repo
INDENT_SPACE_NAME = var.indent_space_name
}
}