From a87a44655733d21362095a302efdd9d6b8e179b6 Mon Sep 17 00:00:00 2001 From: LeoDiazL <116020815+LeoDiazL@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:05:08 -0300 Subject: [PATCH] destroy --- .github/workflows/deploy-pr.yaml | 37 +++++++++++++++++--------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy-pr.yaml b/.github/workflows/deploy-pr.yaml index 1ecd674..21208d6 100644 --- a/.github/workflows/deploy-pr.yaml +++ b/.github/workflows/deploy-pr.yaml @@ -11,29 +11,32 @@ jobs: steps: - - name: destroy0 - uses: bitovi/github-actions-deploy-temporal@gha-testing - with: - aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX }} - aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX }} - aws_default_region: us-east-1 - input_helm_charts: helm + #- name: destroy0 + # uses: bitovi/github-actions-deploy-temporal@gha-testing + # with: + # aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX }} + # aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX }} + # aws_default_region: us-east-1 + # input_helm_charts: helm #aws_aurora_enable: true #aws_eks_create: true + # tf_state_bucket_destroy: true + # tf_stack_destroy: true + + - name: Create EKS Cluster + uses: bitovi/github-actions-deploy-eks@gha-testing + with: + aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX}} + aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX}} + aws_default_region: us-east-1 + + aws_eks_create: true tf_state_bucket_destroy: true tf_stack_destroy: true - -# - name: Create EKS Cluster -# uses: bitovi/github-actions-deploy-eks@gha-testing -# with: -# aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX}} -# aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX}} -# aws_default_region: us-east-1 -# -# aws_eks_create: true -# + + # - name: destroy2 # uses: bitovi/github-actions-deploy-eks@gha-testing # with: