-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tf
30 lines (25 loc) · 1.04 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
29
terraform {
backend "s3" {
encrypt = true
bucket = ""
region = "us-west-2"
key = "indent/terraform.tfstate"
}
}
# Indent + Tailscale Integration
# Details: https://github.com/indentapis/integrations/tree/df7a83d97d7220dc20566871e81d90a20ec160e0/packages/stable/indent-integration-tailscale
# Last Change: https://github.com/indentapis/integrations/commit/df7a83d97d7220dc20566871e81d90a20ec160e0
module "idt-tailscale-webhook" {
source = "git::https://github.com/indentapis/integrations//terraform/modules/indent_runtime_aws_lambda"
name = "idt-tailscale-webhook"
indent_webhook_secret = var.indent_webhook_secret
artifact = {
bucket = "indent-artifacts-us-west-2"
function_key = "webhooks/aws/lambda/tailscale-df7a83d97d7220dc20566871e81d90a20ec160e0-function.zip"
deps_key = "webhooks/aws/lambda/tailscale-df7a83d97d7220dc20566871e81d90a20ec160e0-deps.zip"
}
env = {
TAILSCALE_TAILNET = var.tailscale_tailnet
TAILSCALE_API_KEY = var.tailscale_api_key
}
}