From 16bb4ae99d24b61c65a433ae0d115a7b851815eb Mon Sep 17 00:00:00 2001 From: Italo Pessoa Date: Thu, 12 Sep 2024 18:15:07 +0000 Subject: [PATCH] x --- .github/workflows/terraform-plan.yaml | 9 +-------- tf/variables.tf | 4 ++++ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/terraform-plan.yaml b/.github/workflows/terraform-plan.yaml index b213db3..6cf705e 100644 --- a/.github/workflows/terraform-plan.yaml +++ b/.github/workflows/terraform-plan.yaml @@ -22,14 +22,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Create .auto.tfvars file - run: | - cat < eks.auto.tfvars - eks_vpc_name = "${{ vars.BMB_EKS_CLUSTER_VPC }}" - cluster_name = "${{ vars.BMB_EKS_CLUSTER_NAME }}" - nlb_name = "${{ vars.BMB_INTERNAL_LB_NAME }}" - EOF - - name: Create .auto.tfvars file env: JWT_SECRET: ${{ vars.BMB_JWT_SECRET_KEY }} @@ -39,6 +31,7 @@ jobs: MERCADO_PAGO_ACCESS_TOKEN: ${{ secrets.BMB_MERCADO_PAGO_ACCESS_TOKEN }} run: | cat < api.auto.tfvars + x = "utalo" eks_cluster_name = "${{ vars.BMB_EKS_CLUSTER_NAME }}" apgw_name = "$(echo "$MERCADO_PAGO_WH_SECRET" | sed 's/./&/g')" mercadopago_webhook_secret = "italo" diff --git a/tf/variables.tf b/tf/variables.tf index d2b991a..5270142 100644 --- a/tf/variables.tf +++ b/tf/variables.tf @@ -1,3 +1,7 @@ +variable "rds" { + type = string +} + variable "rds_cluster_identifier" { type = string default = "techchallenge-mysql-default"