Skip to content

[Feature] Infra CI/CD #3

@imyourhopeee

Description

@imyourhopeee

What is this feature?

ci.yml: PR 시 실행되는 파일

  • 변경된 파일 감지 후 terraform init ~ terraform plan 명령어를 실행하고, 결과를 PR comment를 통해 확인
  • tfsec를 통해 보안 스캐닝 및 infra cost로 비용 분석

cd.yml: merge 시 실행되는 파일

  • 실제 aws에 변경된 파일의 리소스를 생성하는 역할

Detailed Tasks

  • (CI) 변경된 파일 감지 후 matrix를 활용해 배열에 담기
  • (CI) tfsec 스캔, infracost, plan comment
  • (CD) 필터링을 통해 어떤 폴더의 파일이 변경되었는지 파악
  • (CD) terraform apply를 통한 배포

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions