lufi/.provision/terraform-aws-deploy
arunodhayamsam 027d5fd89b Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
..
README.md Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
main.tf Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
output.tf Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
provider.tf Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
vars.tf Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30

README.md

Terraform-AWS-Deploy

This terraform plan create the resourcess of EC2 instance

Terraform Variables

Edit the vars.tf file to add the variables as per your need.

Variable name Value Description
aws_region us-east-1 Set the region
vpc_cidr 10.0.0.0/16 Set the cidr value for the vpc
public_subnet_cidr 10.0.2.0/24 Set the cidr value for the public subnet
user ubuntu Set the EC2 instance user name
public_key /home/user_name/.ssh/id_rsa_pub Set the publickey value for the ec2 instance from the host machine
private_key /home/user_name/.ssh/id_rsa Set the private key value for the ec2 instance from the hostmachine
aws_access_key AWSACCESSKEY Enter your aws access key
aws_secrete_key AWSSECRETEKEY Enter your aws secrete key
instance_name Lufi_app_instance Set the name for instance