Skip to content

Commit

Permalink
Merge pull request #439 from atshaw43/master
Browse files Browse the repository at this point in the history
Changing working directory
  • Loading branch information
atshaw43 authored Nov 14, 2023
2 parents 13f1b17 + 46ff3cb commit 25d727e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/IntegrationTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: deployment-package

- name: Copy deployment package to terraform directory
run: cp deploy.zip ./terraform
run: cp deploy.zip ./terraform/sample-apps/http-server

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -51,30 +51,30 @@ jobs:

- name: Terraform Init
run: terraform init
working-directory: ./terraform
working-directory: ./terraform/sample-apps/http-server

- name: Terraform Validate
run: terraform validate -no-color
working-directory: ./terraform
working-directory: ./terraform/sample-apps/http-server

- name: Terraform Plan
run: terraform plan -var-file="fixtures.us-west-2.tfvars" -no-color
env:
TF_VAR_resource_prefix: '${{ github.run_id }}-${{ github.run_number }}'
continue-on-error: true
working-directory: ./terraform
working-directory: ./terraform/sample-apps/http-server

- name: Terraform Apply
run: terraform apply -var-file="fixtures.us-west-2.tfvars" -auto-approve
env:
TF_VAR_resource_prefix: '${{ github.run_id }}-${{ github.run_number }}'
working-directory: ./terraform
working-directory: ./terraform/sample-apps/http-server

- name: Upload terraform state files for destorying resources
uses: actions/upload-artifact@v2
with:
name: terraform-state-artifact
path: ./terraform
path: ./terraform/sample-apps/http-server

test_WebApp:
name: Run testing suite
Expand Down

0 comments on commit 25d727e

Please sign in to comment.