Creating a new AWS VPC and attach a EC2 instance into it. via using VPC as a module. to use this module run below commands
terraform init terraform apply terraform destroy
Creating a new AWS VPC ,ALB, attach a 2EC2 instance into it. via using VPC/ALB as a module. to use this module run below commands
terraform init terraform apply terraform destroy