Skip to content

Commit

Permalink
Update terraform-apply.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusB-DevOps authored Dec 4, 2024
1 parent afebb88 commit bb7447b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/terraform-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
aws-region: eu-central-1
- name: Checkout Repository
uses: actions/checkout@v4
- name: Change to Terraform directory
run: cd "terraform/terraform-modules/tf-ec2-module/"
- name: Show working directory
run: ls -all
- name: Initialize Terraform
run: terraform init
- name: Apply Terraform configuration
run: terraform apply -auto-approve
- name: Deploy Infrastructure
run: |
cd terraform/terraform-modules/tf-ec2-module/
terraform init
terraform apply -auto-approve

0 comments on commit bb7447b

Please sign in to comment.