Skip to content

Commit

Permalink
Rverting
Browse files Browse the repository at this point in the history
  • Loading branch information
atshaw43 committed Nov 14, 2023
1 parent 7705928 commit b20ab80
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/IntegrationTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ jobs:
with:
name: deployment-package

- name: Make sample-app directory
run: mkdir -p ./terraform/sample-apps/http-server

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

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

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

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

- 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/sample-apps/http-server
working-directory: ./terraform

- 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/sample-apps/http-server
working-directory: ./terraform

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

test_WebApp:
name: Run testing suite
Expand Down

0 comments on commit b20ab80

Please sign in to comment.