01
- 1.7 Make a change to the infrastructure scripts
- Learning Objectives
- Make a change to an infrastructure script
- Make a change to an infrastructure script and commit to GitHub.
1.7 Make a change to the infrastructure scripts
Learning Objectives
By the end of this lesson you will be able to:
- Change an existing infrastructure script and commit it to GitHub.
Make a change to an infrastructure script
Make a change to an infrastructure script and commit to GitHub.
- From the root directory of your EC2 instance change directory to devopsinthecloud.
Open the test file as shown below.
“` $ sudo vim target.template
“`
Make a modification to the contents of the file and save it.
- From the root directory of your EC2 instance change directory to devopsinthecloud.
Add the file in Git
“` $ git add .
“`
Commit the file to Git
“` $ git commit -m “Modified infrastructure script”
“`
Push it to the Git master.
“` $ git push
“`