I. Setup credential for terraform
Create a profile named ctc
with the required credentials
By default, these files are located at $HOME/.aws/config and $HOME/.aws/credentials on Linux and macOS, and "%USERPROFILE%.aws\config" and "%USERPROFILE%.aws\credentials" on Windows.
Example: On Linux/Macos: in the file $HOME/.aws/config, add the profile for this course.
[ctc] aws_access_key_id = aws_secret_access_key =
II. To write the terraform code:
- Create common modules on /common_modules folder
- Create variable file for each lab in /lab_var folder. Note: You will need to add new lab file declaration in lab_var/main.tf
- Update your tag value in /lab_var/global.tf
III. Push your code to your repo on gitlab account provided to you by the team
NOTE: DO NOT USE FPT EMAIL FOR GIT git config user.email "" git config user.name "your name" (DO NOT USE ACCOUNTID)