SSH by Terraform in EC2
This is the complete guide how to ssh by terraform
provider "aws" {
region = "us-east-1"
}
# Security Group allowing SSH access
resource "aws_security_group" "allow_ssh" {
name = "allow_ssh"
description = "Allow SSH inbound traffic"
...
sarthakwrites.hashnode.dev1 min read