Skip to content

Commit 07493e4

Browse files
authored
Merge pull request #210 from prgrms-web-devcourse-final-project/develop
chore[deploy]: instance id 변경
2 parents 74c3706 + e298b2a commit 07493e4

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/CI-CD_Pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
aws-region: ${{ secrets.AWS_REGION }}
202202
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
203203
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
204-
instance-ids: "i-01484dd44e3bf7bea"
204+
instance-ids: "i-0f910c00568bbca61"
205205
working-directory: /
206206
comment: Deploy
207207
command: |

infra/main.tf

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -418,18 +418,18 @@ ${local.ec2_user_data_base}
418418
EOF
419419
}
420420

421-
# Elastic IP 생성
422-
resource "aws_eip" "eip_1" {
423-
domain = "vpc"
424-
425-
tags = {
426-
Name = "${var.prefix}-eip-1"
427-
}
428-
429-
}
430-
431-
# Elastic IP와 EC2 인스턴스 연결
432-
resource "aws_eip_association" "eip_assoc" {
433-
instance_id = aws_instance.ec2_1.id
434-
allocation_id = aws_eip.eip_1.id
435-
}
421+
# # Elastic IP 생성
422+
# resource "aws_eip" "eip_1" {
423+
# domain = "vpc"
424+
#
425+
# tags = {
426+
# Name = "${var.prefix}-eip-1"
427+
# }
428+
#
429+
# }
430+
#
431+
# # Elastic IP와 EC2 인스턴스 연결
432+
# resource "aws_eip_association" "eip_assoc" {
433+
# instance_id = aws_instance.ec2_1.id
434+
# allocation_id = aws_eip.eip_1.id
435+
# }

0 commit comments

Comments
 (0)