Skip to content

Commit

Permalink
new update file
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-mohamed-zaghloul committed Jul 14, 2024
1 parent 3a551da commit 30b8013
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,9 @@ jobs:
- name: Terraform Plan
id: plan
run: terraform plan
continue-on-error: true

- name: Terraform Plan Status
if: steps.plan.outcome == 'failure'
run: exit 1


- name: Terraform Apply
id: apply
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: terraform apply -auto-approve


Expand Down
1 change: 0 additions & 1 deletion terraform/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion terraform/jumphost.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ resource "aws_instance" "ec2" {
tags = {
Name = var.instance_name
}
}
}

0 comments on commit 30b8013

Please sign in to comment.