Skip to content

devopsyuva/terraform-cloud-github-actions

Repository files navigation

Terraform Cloud Module for Instance and VPC creation

  • Create ssh key for instance to login from our machine in AWS console
  • Create VPC
  • Create Subnets (Public and Private)
  • Create Internet Gateway and attach it to VPC
  • Create Route table for public and private
  • Attach the IGW route to Public route table for internet access
  • Associate Public subnet to public route table and Private subnet to private route table
  • Create a Security group to VPC to allow 22 and 80 port inbound rule
  • Launch Instance on above specified resources and install web server
  • Create EIP, which depends_on IGW

Note:

  • Destroy everything:
terraform destroy -auto-approve and rm -rf .terraform* terraform.tfstate*

References:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors