diff --git a/.github/workflows/eks-setup.yaml b/.github/workflows/eks-setup.yaml index e40aa49..4654275 100644 --- a/.github/workflows/eks-setup.yaml +++ b/.github/workflows/eks-setup.yaml @@ -30,14 +30,6 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} - - TerraformPlan: - runs-on: ubuntu-latest - needs: TerraformInit - - steps: - - name: Checkout - uses: actions/checkout@v4 - name: Plan Terraform run: | @@ -45,16 +37,8 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: ${{ secrets.AWS_REGION }} + AWS_REGION: ${{ secrets.AWS_REGION }} - TerraformValidate: - runs-on: ubuntu-latest - needs: TerraformPlan - - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Validate Terraform run: | terraform validate @@ -62,14 +46,6 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} - - TerraformApply: - runs-on: ubuntu-latest - needs: TerraformValidate - - steps: - - name: Checkout - uses: actions/checkout@v4 - name: Plan Terraform run: | @@ -77,8 +53,4 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: ${{ secrets.AWS_REGION }} - - - - + AWS_REGION: ${{ secrets.AWS_REGION }} \ No newline at end of file