•
aws configure (ap-northeast-2)
•
Github CLI 및 Github Token 필요
•
provider.tf 파일에서 아래 내용 변경
◦
Github Token
◦
Github Uesrname
aws secrets manager alias 삭제
aws secretsmanager delete-secret --secret-id skills-day1-sm --force-delete-without-recovery --region ap-northeast-2
Shell
복사
eks.tf 파일에서 public access true로 변경
gh auth login
terraform init
terraform apply -auto-approve
Shell
복사
리소스 생성될 동안 Jenkins 세팅하기
apply 완료 후 step2.tf 파일 주석 해제 후 다시 terraform apply 진행
terraform apply -auto-approve
Shell
복사
마지막으로 eks.tf 파일에서 public access false로 변경


