From d3fb22730e0ba56c43e51b4df91013f26a3e950e Mon Sep 17 00:00:00 2001 From: Indent Bot Date: Wed, 13 Mar 2024 01:46:29 +0000 Subject: [PATCH] sync(integration): aws-lambda-github-issue FolderOrigin-RevId: /home/runner/work/integrations/integrations/. --- .github/workflows/deploy.yaml | 8 ++++---- main.tf | 12 ++++++------ variables.tf | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c7b5de7..15bebb7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -68,8 +68,8 @@ jobs: env: TF_VAR_indent_webhook_secret: ${{ secrets.INDENT_WEBHOOK_SECRET }} TF_VAR_gh_token: ${{ secrets.GH_TOKEN }} - TF_VAR_github_org: ${{ secrets.GITHUB_ORG }} - TF_VAR_github_repo: ${{ secrets.GITHUB_REPO }} + TF_VAR_gh_org: ${{ secrets.GH_ORG }} + TF_VAR_gh_repo: ${{ secrets.GH_REPO }} TF_VAR_indent_space_name: ${{ secrets.INDENT_SPACE_NAME }} - uses: actions/github-script@0.9.0 if: github.event_name == 'pull_request' @@ -102,8 +102,8 @@ jobs: env: TF_VAR_indent_webhook_secret: ${{ secrets.INDENT_WEBHOOK_SECRET }} TF_VAR_gh_token: ${{ secrets.GH_TOKEN }} - TF_VAR_github_org: ${{ secrets.GITHUB_ORG }} - TF_VAR_github_repo: ${{ secrets.GITHUB_REPO }} + TF_VAR_gh_org: ${{ secrets.GH_ORG }} + TF_VAR_gh_repo: ${{ secrets.GH_REPO }} TF_VAR_indent_space_name: ${{ secrets.INDENT_SPACE_NAME }} - name: Terraform Output if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') diff --git a/main.tf b/main.tf index 1f48653..ae29ec3 100644 --- a/main.tf +++ b/main.tf @@ -10,8 +10,8 @@ terraform { # Indent + GitHub Issues Integration -# Details: https://github.com/indentapis/integrations/tree/66ff4232954ef525f523a1cb8062e4509656de27/packages/stable/indent-integration-github-issue -# Last Change: https://github.com/indentapis/integrations/commit/66ff4232954ef525f523a1cb8062e4509656de27 +# 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" @@ -19,13 +19,13 @@ module "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-66ff4232954ef525f523a1cb8062e4509656de27-function.zip" - deps_key = "webhooks/aws/lambda/github-issue-66ff4232954ef525f523a1cb8062e4509656de27-deps.zip" + 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 - GITHUB_ORG = var.github_org - GITHUB_REPO = var.github_repo + GH_ORG = var.gh_org + GH_REPO = var.gh_repo INDENT_SPACE_NAME = var.indent_space_name } } diff --git a/variables.tf b/variables.tf index 3e3d455..6b8034a 100644 --- a/variables.tf +++ b/variables.tf @@ -19,13 +19,13 @@ variable "gh_token" { sensitive = true } -variable "github_org" { +variable "gh_org" { type = string default = "" sensitive = true } -variable "github_repo" { +variable "gh_repo" { type = string default = "" sensitive = true