From 87bc80b99c5726bf72ce67d75d2d5209cd49c1c3 Mon Sep 17 00:00:00 2001 From: MongsangGa Date: Sun, 1 Jun 2025 15:00:36 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20EC2=20=EB=B0=B0=ED=8F=AC=EB=A5=BC=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20?= =?UTF-8?q?=EC=8A=A4=ED=86=A0=EC=96=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++++ src/main/resources/application-dev.yml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index ca287f6..f0b398d 100644 --- a/build.gradle +++ b/build.gradle @@ -87,6 +87,10 @@ dependencies { // Firebase implementation 'com.google.firebase:firebase-admin:9.2.0' + + //AWS Parameter Store + implementation platform("io.awspring.cloud:spring-cloud-aws-dependencies:3.1.0") + implementation 'io.awspring.cloud:spring-cloud-aws-starter-parameter-store' } test { diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index c450c1a..cbda645 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,4 +1,10 @@ spring: + config: + import: optional:aws-parameterstore:/right/ +aws: + region: + static: ap-northeast-2 + datasource: url: jdbc:mysql://localhost:3306/right?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=UTF-8 driver-class-name: com.mysql.cj.jdbc.Driver