Complete Project Automation: EC2 Deployment Using Terraform & GitHub Workflow (deploy.yml) #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Title:
Complete Project Automation: EC2 Deployment Using Terraform & GitHub Workflow (deploy.yml)
Pull Request Description:
This pull request introduces full automation for deploying AWS EC2 instances using Terraform and the GitHub Actions workflow (
deploy.yml
). The README has been updated to clearly explain the setup and workflow for better usability. Key changes include:Updated the project structure section to reflect the current file organization.
Marked
deploy.sh
as obsolete and replaced it with thedeploy.yml
GitHub Actions workflow.Added instructions for forking the repository, which is necessary to add GitHub Secrets.
Explained how to configure SSH private keys from AWS
.pem
files.Expanded the workflow overview to describe:
Documented all trigger methods, including branch pushes, git tags, and manual runs.
This update makes it easier for others to understand, use, and extend the project’s automated deployment process.
This feature/assignment
[devops/a3]
has been continued from[devops/a2]
branch. The PR has been raised on[main]
branch to keep track of each feature/assignment on the long run.Image below shows the successful execution of the feature/assignment.
