Terraform
terraform
1. Revert 되돌릴 최신의 Commit 이력을 확인합니다. git log –oneline # Expected Response 53c671e (HEAD -> main, origin/main) 6 4eeae33 5 9a4439a 4 de5dbac 3 cbe9f64 2 ad81b90 1 가장 최신의 commit으로 돌아갑니다. git revert 53c671e Commit 메세지를 수정할 수 있는 창이 열립니다. 수정하고 파일을 닫습니다. 자동으로 Commit이 됩니다. Comm it을 Push합니다. git push 다음 …
VPC VPC 생성 처음으로 VPC를 구성합니다. 자신의 환경에 맞게 cidr_block 값을 변경해주세요. # main.tf resource "aws_vpc" "DEV-VPC" { assign_generated_ipv6_cidr_block = false cidr_block = "10.0.0.0/16" enable_dns_hostnames = true enable_dns_support = true instance_tenancy = "default" tags = { Name = "DEV-VPC" Service = "DEV" } } Subnet Terraform Function – Count 일반적으로 한 개의 서브넷을 만들기 위하여 …
AWS 인프라를 Terraform으로 테스트 구성
Terraform 설치 Visial Studio 실행 => Extensions => hashicop terraform 검색 및 설치 Terraform의 버전 확인 terraform versionerraform v0.13.4Your version of Terraform is out of date! The latest versionis 0.14.7. You can update by downloading from https://www.terraform.io/downloads.html Terraform 코드 파일 확인 root@workstation:~/hashicat-aws# ls *.tfmain.tf outputs.tf variables.tf Terraform Work Space 테라폼 작업 공간은 단순히 테라폼 코드가 …
AWS CLI설치 및 Provider설정
Terraform 및 Visual Studio 설치