Home ๐Ÿ” AWS S3 ์„ค์ •ํ•˜๊ธฐ
Post
Cancel

๐Ÿ” AWS S3 ์„ค์ •ํ•˜๊ธฐ



๋ฒ„ํ‚ท ๋งŒ๋“ค๊ธฐ (์ฐธ๊ณ  ๋ธ”๋กœ๊ทธ)




build.gradle


1
2
3
4
5
6
7
dependencies{

		// S3
		implementation'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'

		}



application.yml


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cloud:
  aws:
    s3:
      bucket: ${S3_BUCKET_NAME}
    credentials:
      access-key: ${AWS_ACCESS_KEY_ID}
      secret-key: ${AWS_SECRET_ACCESS_KEY}
    region:
      static: ${S3_REGION}
      auto: false
    stack:
      auto: false


logging:
  level:
    org:
      EC2MetadataUtils: ERROR



accessKey, secretKey ๋ฐ›๊ณ  ์ €์žฅํ•ด ๋‘๊ธฐ


๋ฐœ๊ธ‰๋ฐ›์„ ๋‹น์‹œ๋งŒ ํ™•์ธ ๊ฐ€๋Šฅํ•˜๋‹ˆ ์ž˜ ์ €์žฅํ•ด๋‘๊ธฐ!



This post is licensed under CC BY 4.0 by the author.

๐Ÿ” Swagger ์‚ฌ์šฉํ•˜๊ธฐ

โ—ERROR - Querydsl์˜ fetchCount()