Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to add key pair to ec2 instance terraform

#add the key_name which are stored into your AWS account --> EC2--> Network & Security-->Key Pairs
resource "aws_instance" "ec2" {
  ami = "ami-0c1a7f89451184c8b"
  instance_type = "t2.micro"
  key_name = "terraform"
  }
Comment

PREVIOUS NEXT
Code Example
Shell :: git pull sith ssh key 
Shell :: macos make file executable 
Shell :: compress a folder in ubuntu 
Shell :: how to install xfce 
Shell :: add user to docker group 
Shell :: fuser install linux 
Shell :: how to push local code to gitlab 
Shell :: install aws cli v2 mac 
Shell :: [INS-30131] Initial setup required for the execution of installer validations failed. 
Shell :: tar zip multiple files 
Shell :: ubuntu no internet connection 
Shell :: difference between two files linux 
Shell :: create user linux 
Shell :: change username and home directory linux 
Shell :: unable to find docker images locally 
Shell :: git checkout remote branch 
Shell :: ionic capacitor android 
Shell :: install composer on ubuntu 20.04 
Shell :: get path of command ubuntu 
Shell :: git track remote branch 
Shell :: how to install older version of tensorflow 
Shell :: pipenv install virtual at same path 
Shell :: install webstorm ubuntu 20.04 
Shell :: install ruby on ubuntu 
Shell :: git go back to previous commit temporarily 
Shell :: remove all branches deleted on remote 
Shell :: finda java home 
Shell :: how to configure git and github 
Shell :: using yarn in docker 
Shell :: git amend commit message 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =