-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update workflow to provision an EC2 instance using Terraform #10
Comments
Changes related to this issue are committed to pull request #7 |
SSH into provisioned EC2 instanceIn an attempt to SSH into the instance provisioned by Terraform, I discovered that additional information must be added to the Terraform configuration file. ISSUE: I could not SSH into the instance because there was no associated key pair created when the instance was provisioned
Resources |
ERROR MESSAGE:
To address this issue of being unable to SSH to the instance, I tried these steps:
Unfortunately, it seems that this method is not recommended for security reasons, so as a better approach, I added a new key pair using
Resources |
The next thing I tried to do was update the Terraform configuration file:
I went back to the previous (deprecated?) method of creating an |
Overview
This issue will include an overview of how to use GitHub Actions to automate provisioning an AWS EC2 instance using Terraform.
Resources
The text was updated successfully, but these errors were encountered: