Skip to content

Commit ab96b9b

Browse files
authored
Merge pull request #94 from prgrms-web-devcourse-final-project/feat#59
[feat] AWS + 테라폼 CICD 배포 코드 작성 #1
2 parents d6fbaf1 + d33f340 commit ab96b9b

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ terraform.tfstate.backup
5151
.terraform.tfstate.lock.info
5252
terraform/secrets.tf
5353

54+
5455
### Claude AI ###
5556
CLAUDE.md
5657
.claude/
57-

src/main/resources/application-prod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ spring:
1818
host: ${REDIS_HOST}
1919
password: ${REDIS_PASSWORD}
2020
datasource:
21-
url: jdbc:mysql://mysql_1:3306/${DATABASE_URL}
21+
url: ${DATABASE_URL}
22+
2223
springdoc:
2324
swagger-ui:
2425
enabled: false

src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ gemini:
6666
model-name: "gemini-1.5-flash-latest"
6767
url: "https://generativelanguage.googleapis.com/v1beta/models"
6868

69+
6970
custom:
7071
dev:
7172
cookieDomain: localhost

terraform/variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
variable "instance_type" {
22
type = string # The type of the variable, in this case a string
3-
default = "t2.micro" # Default value for the variable
3+
default = "t3.micro" # Default value for the variable
4+
45
description = "The type of EC2 instance" # Description of what this variable represents
56
}
67

@@ -16,5 +17,6 @@ variable "prefix" {
1617

1718
variable "app_1_domain" {
1819
description = "app_1 domain"
19-
default = "ssou.o-r.kr"
20+
default = "api.ssoul.o-r.kr"
21+
2022
}

0 commit comments

Comments
 (0)