Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Sep 12, 2024
1 parent 497d5c5 commit 16bb4ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/terraform-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Create .auto.tfvars file
run: |
cat <<EOF > 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 }}
Expand All @@ -39,6 +31,7 @@ jobs:
MERCADO_PAGO_ACCESS_TOKEN: ${{ secrets.BMB_MERCADO_PAGO_ACCESS_TOKEN }}
run: |
cat <<EOF > 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"
Expand Down
4 changes: 4 additions & 0 deletions tf/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
variable "rds" {
type = string
}

variable "rds_cluster_identifier" {
type = string
default = "techchallenge-mysql-default"
Expand Down

0 comments on commit 16bb4ae

Please sign in to comment.