ine-labs / AWSGoat

AWSGoat : A Damn Vulnerable AWS Infrastructure
MIT License
1.7k stars 1.04k forks source link

Missing ID on terraform apply workflow #8

Closed maximiliarthur closed 2 years ago

maximiliarthur commented 2 years ago

I think there is a missing ID on line https://github.com/ine-labs/AWSGoat/blob/master/.github/workflows/tf-apply-main.yml#L41

Supposed to be like this:

    - name: Terraform Plan
      id: plan
      run: | 
        terraform plan -input=false
        ls -al
      continue-on-error: false

References https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context

jeswinMathai commented 2 years ago

Thanks for pointing this out, we have refactored the workflow file and included a few more checks.