Skip to content

Commit 31aafd3

Browse files
authored
Merge pull request #34 from YAPP-Github/ci/PRODUCT-108
2 parents f44687a + 4fbd811 commit 31aafd3

File tree

22 files changed

+60
-93
lines changed

22 files changed

+60
-93
lines changed

.github/workflows/close-jira-issue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
uses: atlassian/gajira-transition@v3
3030
with:
3131
issue: ${{ env.JIRA_KEY }}
32+
transition: 완료

CHANGELOG.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/main/resources/application-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jwt:
2929
cors:
3030
origin:
3131
- "http://localhost:3000"
32-
- "https://dev.eatda.net"
32+
- "https://api-dev.eatda.net"

terraform-bootstrap/backend.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
terraform {
22
backend "s3" {
3-
bucket = "timeeat-tf-state"
3+
bucket = "eatda-tf-state"
44
key = "bootstrap/terraform.tfstate"
55
region = "ap-northeast-2"
66
encrypt = true
7-
dynamodb_table = "timeeat-tf-lock"
7+
dynamodb_table = "eatda-tf-lock"
88
}
99
}

terraform-bootstrap/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ provider "aws" {
1212
}
1313

1414
resource "aws_s3_bucket" "bootstrap" {
15-
bucket = "timeeat-tf-state"
15+
bucket = "eatda-tf-state"
1616
force_destroy = false
1717

1818
tags = {
19-
Name = "timeeat-tf-state"
19+
Name = "eatda-tf-state"
2020
Environment = "state"
2121
Owner = "baegam"
22-
Project = "time-eat"
22+
Project = "eatda"
2323
Service = "infrastructure"
2424
}
2525
}
@@ -50,7 +50,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "bucket_lifecycle" {
5050
}
5151

5252
resource "aws_dynamodb_table" "lock" {
53-
name = "timeeat-tf-lock"
53+
name = "eatda-tf-lock"
5454
billing_mode = "PAY_PER_REQUEST"
5555
hash_key = "LockID"
5656

@@ -60,10 +60,10 @@ resource "aws_dynamodb_table" "lock" {
6060
}
6161

6262
tags = {
63-
Name = "timeeat-tf-lock"
63+
Name = "eatda-tf-lock"
6464
Environment = "state"
6565
Owner = "baegam"
66-
Project = "time-eat"
66+
Project = "eatda"
6767
Service = "infrastructure"
6868
}
6969
}
@@ -77,4 +77,4 @@ module "ecr" {
7777
scan_on_push = each.value.scan_on_push
7878
image_tag_mutability = each.value.image_tag_mutability
7979
tags = each.value.tags
80-
}
80+
}

terraform-bootstrap/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ output "ecr_repo_names" {
88
value = {
99
for k, v in module.ecr : k => v.repository_name
1010
}
11-
}
11+
}

terraform/common/alb/locals.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
alb_name = "timeeat-alb"
2+
alb_name = "eatda-alb"
33
deletion_protection = false
44
loadbalancer_type = "application"
55
internal = false
@@ -74,13 +74,13 @@ locals {
7474
listener_rules = {
7575
"prod-path-rule" = {
7676
priority = 1
77-
host_header = "api.time-eat.com"
77+
host_header = "api.eatda.net"
7878
action_type = "forward"
7979
target_group_arn = module.target_groups.target_group_arns["api-prod"]
8080
}
8181
"dev-path-rule" = {
8282
priority = 2
83-
host_header = "dev.time-eat.com"
83+
host_header = "api-dev.eatda.net"
8484
action_type = "forward"
8585
target_group_arn = module.target_groups.target_group_arns["api-dev"]
8686
}

terraform/common/alb/target-group/variables.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
variable "target_groups" {
22
type = map(object({
3-
port = number
4-
protocol = string
5-
target_type = string
3+
port = number
4+
protocol = string
5+
target_type = string
66
deregistration_delay = number
77
health_check = object({
88
path = string
@@ -17,5 +17,5 @@ variable "target_groups" {
1717

1818

1919
variable "vpc_id" {
20-
type = string
21-
}
20+
type = string
21+
}

terraform/common/backend.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
terraform {
22
backend "s3" {
3-
bucket = "timeeat-tf-state"
3+
bucket = "eatda-tf-state"
44
key = "common/terraform.tfstate"
55
region = "ap-northeast-2"
66
encrypt = true
7-
dynamodb_table = "timeeat-tf-lock"
7+
dynamodb_table = "eatda-tf-lock"
88
}
99
}

terraform/common/locals.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locals {
22
group_name = "power"
3-
project_name = "time-eat"
3+
project_name = "eatda"
44

55
policy_arns = [
66
"arn:aws:iam::aws:policy/AdministratorAccess",
@@ -61,7 +61,7 @@ locals {
6161
}
6262

6363
locals {
64-
domain_name = "time-eat.com"
64+
domain_name = "eatda.net"
6565
validation_method = "DNS"
6666
record_type = "A"
6767
alb_alias = {
@@ -78,28 +78,28 @@ locals {
7878
locals {
7979
security_groups = {
8080
alb = {
81-
name = "timeeat-alb-sg"
81+
name = "eatda-alb-sg"
8282
description = "ALB SG"
8383
tags = {
84-
Name = "timeeat-alb-sg"
84+
Name = "eatda-alb-sg"
8585
Environment = "common"
8686
Service = "alb"
8787
}
8888
}
8989
ec2 = {
90-
name = "timeeat-ec2-sg"
90+
name = "eatda-ec2-sg"
9191
description = "EC2 SG"
9292
tags = {
93-
Name = "timeeat-ec2-sg"
93+
Name = "eatda-ec2-sg"
9494
Environment = "common"
9595
Service = "ec2"
9696
}
9797
}
9898
rds = {
99-
name = "timeeat-rds-sg"
99+
name = "eatda-rds-sg"
100100
description = "RDS SG"
101101
tags = {
102-
Name = "timeeat-rds-sg"
102+
Name = "eatda-rds-sg"
103103
Environment = "common"
104104
Service = "rds"
105105
}

0 commit comments

Comments
 (0)