Skip to content

Commit

Permalink
sync changes to prod workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-Choh committed Aug 22, 2024
1 parent 9e08152 commit cc3514a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
setup:
# prod setup should only occur on the prod repo
if: github.repository == 'ssg-wsg/Sample-Codes'
environment: production
needs:
- test
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ output "launch_instance_instance_type" {
value = "t2.micro"
}

output "bastion_host_instance_type" {
value = "t2.micro"
}

output "broadcast_ipv4" {
value = "0.0.0.0/0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ resource "aws_security_group" "ec2" {
security_groups = [aws_security_group.alb.id]
}

ingress {
from_port = 22
to_port = 22
protocol = "tcp"
security_groups = [aws_security_group.bastion_host.id]
}

egress {
from_port = 0
to_port = 0
Expand Down

0 comments on commit cc3514a

Please sign in to comment.