Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Example Terraform Code for AWS provider, resources aws_key_pair

This command would generate a public and private key
$ ssh-keygen -f terraform_ec2_key

This resources would import aws key pair

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)