Skip to content

feat: 최초생성 시 Lambda 생성단계 추가 - #31

Merged
Yeon-chae merged 1 commit into
developfrom
feat/create-lambda
Aug 11, 2026
Merged

feat: 최초생성 시 Lambda 생성단계 추가#31
Yeon-chae merged 1 commit into
developfrom
feat/create-lambda

Conversation

@Yeon-chae

Copy link
Copy Markdown
Contributor

🎯 관련 이슈

ecr - lambda 파이프라인 개선

🚀 어떤 기능을 개발했나요?

  • 기존에는1.ecr 생성 후 ->2. github actions 이미지 주입 -> 3. lambda 생성 이라는 순서 강제 때문에, 수동작업이 많았음
  • 홉을 최대한 줄여보기 위해 아래 방식으로 개선 시도
- Terraform
├─ ECR 저장소
├─ ECR repository policy
└─ Lambda execution role
↓
GitHub Actions
├─ Docker build
├─ ECR push
├─ Lambda 없으면 create-function  << new!!
└─ Lambda 있으면 update-function-code
  • 1-3단계가 모두 수동이며, 각 작업이 분리되어있었지만, 1단계는 IAC 로 자동화, 2~3단계를 github actions으로 통합하여 수동작업을 최소화 하도록 하였다.

🕶️ 어떻게 해결했나요?

  • 기존 lambda 함수가 없으면 create 해주는 단계를 추가 하였음.

@Yeon-chae
Yeon-chae merged commit 6104ce1 into develop Aug 11, 2026
2 checks passed
@Yeon-chae
Yeon-chae deleted the feat/create-lambda branch August 11, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant