From 6b4c26ebdea094e162a8a45625829ce8a13c38f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9D=BC=EA=B1=B4?= <100272259+k1g99@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:01:43 +0900 Subject: [PATCH] fix: add variable in tf deploy module (#1571) --- apps/infra/deploy/main.tf | 2 ++ apps/infra/deploy/variable.tf | 2 ++ apps/infra/local/main.tf | 2 ++ apps/infra/local/variable.tf | 2 ++ 4 files changed, 8 insertions(+) diff --git a/apps/infra/deploy/main.tf b/apps/infra/deploy/main.tf index 763e1b7e65..46980bd162 100644 --- a/apps/infra/deploy/main.tf +++ b/apps/infra/deploy/main.tf @@ -29,6 +29,8 @@ module "codedang-infra" { github_client_secret = var.github_client_secret kakao_client_id = var.kakao_client_id kakao_client_secret = var.kakao_client_secret + otel_url = var.otel_url + otel_port = var.otel_port } diff --git a/apps/infra/deploy/variable.tf b/apps/infra/deploy/variable.tf index bd082615d3..bb1c89f5c6 100644 --- a/apps/infra/deploy/variable.tf +++ b/apps/infra/deploy/variable.tf @@ -17,3 +17,5 @@ variable "github_client_id" {} variable "github_client_secret" {} variable "kakao_client_id" {} variable "kakao_client_secret" {} +variable "otel_url" {} +variable "otel_port" {} diff --git a/apps/infra/local/main.tf b/apps/infra/local/main.tf index 70eb37c501..cf4a6dfac0 100644 --- a/apps/infra/local/main.tf +++ b/apps/infra/local/main.tf @@ -19,6 +19,8 @@ module "codedang-infra" { github_client_secret = var.github_client_secret kakao_client_id = var.kakao_client_id kakao_client_secret = var.kakao_client_secret + otel_url = var.otel_url + otel_port = var.otel_port } module "codedang-tf-backend" { diff --git a/apps/infra/local/variable.tf b/apps/infra/local/variable.tf index bd082615d3..bb1c89f5c6 100644 --- a/apps/infra/local/variable.tf +++ b/apps/infra/local/variable.tf @@ -17,3 +17,5 @@ variable "github_client_id" {} variable "github_client_secret" {} variable "kakao_client_id" {} variable "kakao_client_secret" {} +variable "otel_url" {} +variable "otel_port" {}