Skip to content

refactor: Parameter Store 기반 Terraform 입력값 전환#29

Closed
lsy1307 wants to merge 1 commit intomainfrom
refactor/28-migrate-secrets-to-parameter-store
Closed

refactor: Parameter Store 기반 Terraform 입력값 전환#29
lsy1307 wants to merge 1 commit intomainfrom
refactor/28-migrate-secrets-to-parameter-store

Conversation

@lsy1307
Copy link
Copy Markdown
Contributor

@lsy1307 lsy1307 commented May 5, 2026

관련 이슈

작업 내용

  • \global, \prod, \stage, \monitoring\ 루트 모듈이 \config/secrets/*.tfvars\ 대신 AWS Systems Manager Parameter Store 값을 읽도록 변경했습니다.
  • 환경별 \ssm.tf\에서 \�ws_ssm_parameter\ data source와 local 값을 정의했습니다.
  • GitHub Actions plan/apply workflow에서 secret tfvars 경로 필터와 -var-file\ 인자를 제거했습니다.

특이 사항

  • Parameter Store 값은 Terraform resource로 생성하지 않고 data source로만 조회합니다.
  • list/map/object 입력값은 Parameter Store에 JSON 문자열로 저장되어 있어야 합니다.
  • SecureString으로 저장할 값은 \db-root-password, \�dditional-db-users\입니다.

검증

  • \ erraform validate: global/prod/stage/monitoring 통과

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 46d03318-47ac-4df0-9b89-b1e933b679c1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/28-migrate-secrets-to-parameter-store

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Terraform Plan: stage

(결과 파싱 불가)

전체 plan 결과는 보안을 위해 댓글에 포함되지 않습니다. 워크플로우 실행 아티팩트를 확인하세요.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Terraform Plan: monitoring

(결과 파싱 불가)

전체 plan 결과는 보안을 위해 댓글에 포함되지 않습니다. 워크플로우 실행 아티팩트를 확인하세요.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Terraform Plan: global

(결과 파싱 불가)

전체 plan 결과는 보안을 위해 댓글에 포함되지 않습니다. 워크플로우 실행 아티팩트를 확인하세요.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Terraform Plan: prod

(결과 파싱 불가)

전체 plan 결과는 보안을 위해 댓글에 포함되지 않습니다. 워크플로우 실행 아티팩트를 확인하세요.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

@coderabbitai review

@lsy1307
Copy link
Copy Markdown
Contributor Author

lsy1307 commented May 5, 2026

요청에 따라 PR은 닫습니다. 브랜치의 변경사항은 유지합니다.

@lsy1307 lsy1307 closed this May 5, 2026
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.

refactor: secret 서브모듈 값을 Parameter Store로 이관

1 participant