Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 1 make vpc #1

Merged
merged 2 commits into from
May 2, 2023
Merged

Step 1 make vpc #1

merged 2 commits into from
May 2, 2023

Conversation

sts2885
Copy link
Owner

@sts2885 sts2885 commented May 2, 2023

아래와 같은 구조의 vpc를 만드는 코드를 작성 하였습니다.

vpc - subnet
pub_sub_a : 10.1.0.0/26
pub_sub_c : 10.1.0.64/26

pri_sub_app_a : 10.1.0.128/26
pri_sub_app_c : 10.1.0.160/26
pri_sub_db_a : 10.1.0.192/26
pri_sub_db_c : 10.1.0.224/26

igw, nat 생성

주의사항 : terraform destroy로 삭제 시 vpc가 삭제되지 않는 버그가 있는걸로 보입니다.
https://stackoverflow.com/questions/69497562/terraform-destroy-not-deleting-the-aws-vpc
테라폼 destroy 실패  와 이런건 진짜 처음보네

손으로 삭제하면 바로 되고, 굳이 삭제 안되도 또 써도 되며, 비용도 안나가니까 문제될 건 없습니다.

Son Taeseon added 2 commits May 2, 2023 00:26
 Add 1 : VPC created
Add 2 : Public, private subnet added at each .tf file
Add 3 : igw , public route table added, no route rule yet
Add 3 : nat , eip_for_nat, private route table added
=> Add 3 is not completed. It will be completed at next time.
@sts2885 sts2885 merged commit 346975f into proj_1_dev May 2, 2023
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