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"