[ Working Directory ]
↓
git add
↓
[ Staging Area ]
↓
git commit
↓
[ Local Repository (.git) ]
↓ ↑
git push git pull
↓ ↑
[ Remote Repository (GitHub) ]
# git (local)
git init
git add .
git commit -m "Initial commit"
git branch -M main
# github (remote)
git remote add origin https://github.com/riptae/aws-lab.git
git push -u origin main
.gitignore 만들어야 한다
.terraform/
*.tfstate
*.tfstate.*
crash.log
*.log
.terraform.lock.hcl'[2] 250909~ 클라우드 > [b] 12월 : Terraform + Ansible' 카테고리의 다른 글
| [24] IAMROLE 추가 (0) | 2025.12.29 |
|---|---|
| [23] terraform vpc / subnet / igw / rt / sg / ec2 (0) | 2025.12.29 |
| [21] terraform setup + s3 테스트 (0) | 2025.12.28 |
| [20] SG 코드 (0) | 2025.12.28 |
| [19] Private subnet + NAT GW + EC2 / EIP (0) | 2025.12.27 |