Skip to content

Commit

Permalink
sg
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Nov 12, 2024
1 parent 30853cf commit 4a172cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/apply/terraform/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
- name: Terraform Import
run: |
terraform import aws_db_subnet_group.default db-subnet-group-4
terraform import aws_security_group.default sg-0b1b3b3b3b3b3b3b3
terraform import aws_security_group.default sg-0517ff4946c44591d
working-directory: ./infra
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion infra/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "aws_db_subnet_group" "default" {

# Optional: Create a security group if you don't have one already
resource "aws_security_group" "default" {
id = "sg-0b1b3b3b3b3b3b3b3"
id = "sg-0517ff4946c44591d"
name = "db-security-group-4"
description = "Allow DB access"
vpc_id = "vpc-016eba058ed193190" # Replace with your VPC ID
Expand Down

0 comments on commit 4a172cb

Please sign in to comment.