Skip to content

Commit

Permalink
add init job and rename terraform apply
Browse files Browse the repository at this point in the history
  • Loading branch information
Oloruntobi Olurombi committed Aug 29, 2024
1 parent 29ce356 commit 20184d9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/eks-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

TerraformInit:
runs-on: ubuntu-latest
needs: LogInToAWS
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialize Terraform
run: terraform init

TerraformPlan:
runs-on: ubuntu-latest
needs: LogInToAWS
Expand All @@ -32,7 +42,7 @@ jobs:
- name: Plan Terraform
run: terraform plan

TerraformApply:
TerraformApply-InstallTools:
runs-on: ubuntu-latest
needs: TerraformPlan
steps:
Expand Down

0 comments on commit 20184d9

Please sign in to comment.