-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tf
29 lines (24 loc) · 1.03 KB
/
main.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
terraform {
backend "s3" {
encrypt = true
bucket = ""
region = "us-west-2"
key = "indent/terraform.tfstate"
}
}
# Indent + Auto-approval Integration
# Details: https://github.com/indentapis/integrations/tree/17108bd50ac2085c099c40b348776fc655915b48/packages/stable/indent-integration-auto-approval
# Last Change: https://github.com/indentapis/integrations/commit/17108bd50ac2085c099c40b348776fc655915b48
module "idt-auto-approval-webhook" {
source = "git::https://github.com/indentapis/integrations//terraform/modules/indent_runtime_aws_lambda"
name = "idt-auto-approval-webhook"
indent_webhook_secret = var.indent_webhook_secret
artifact = {
bucket = "indent-artifacts-us-west-2"
function_key = "webhooks/aws/lambda/auto-approval-17108bd50ac2085c099c40b348776fc655915b48-function.zip"
deps_key = "webhooks/aws/lambda/auto-approval-17108bd50ac2085c099c40b348776fc655915b48-deps.zip"
}
env = {
AUTO_APPROVAL_DURATION = var.auto_approval_duration
}
}