Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.16 KB

terraform-aws

This project outlines how terraform is used to deploy Cloud resources in AWS. The instance would run a script upon its initialization from file userdata.tpl. The instance type can be changed depending upon the AMI in datasources.tf. Some of the instructions would be given on the assumption that this project would be done in vscode

ARCHITECTURE

REQUIREMENT

  • Install AWS ToolKit in the Extention.
  • Ensure that Terraform is also installed in the Extention

SSH KEY GENERATION

Its automated. Check the folder ~/.ssh/mtckey.

CREDENTIAL SETTING

The Credentials file would be in the folder ~/.aws. Set your account in this folder. It would be recommended to create an account for terraform in AWS and import its access key & secret key. You can either insert through AWS ToolKit or manually in the config file.

[name_of_acc]
aws_access_key_id = access_key
aws_secret_access_key = secret_key

P.S

Ensure to download either linux-ssh-config.tpl or windows-ssh-config.tpl file based on the system being used.