-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af569fa
commit c3f4ffd
Showing
4 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
Terraform Lab Setup. | ||
1) Select us-east-1 region in cloud console. | ||
|
||
Select us-east-1 region. | ||
2) Open AWS cloud shell | ||
|
||
Open AWS cloud shell | ||
3) Clone code repository | ||
|
||
install terraform using following commands. | ||
git clone https://github.com/imrannayer/terraform-workshop.git | ||
|
||
sudo yum install -y yum-utils | ||
|
||
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo | ||
4) install terraform using script install_tf_in_shell.sh . | ||
|
||
sudo yum -y install terraform | ||
cd terraform-workshop/AWS/Labs | ||
|
||
. install_tf_in_shell | ||
|
||
******** AWS cloud shell does not preserve software install after restartrt. You have to execute install_tf_in_shell.sh every time you login to cloud shell. ************* | ||
|
||
git clone https://github.com/imrannayer/terraform-workshop.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
use Azure cloud shell | ||
1) use Azure cloud shell | ||
|
||
2) Clone code repository | ||
|
||
git clone https://github.com/imrannayer/terraform-workshop.git | ||
|
||
3) Check Terraform version in cloud shell | ||
|
||
terraform --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
use cloud shell | ||
1) use cloud shell | ||
|
||
2) Make Sure your project ID is set in cloud shell. Execute following command to check & set project ID in cloud shell. Replace MY_PROJECT_ID with your project ID | ||
|
||
gcloud config list project | ||
|
||
gcloud config set project <MY_PROJECT_ID> | ||
|
||
3) Clone code repository | ||
|
||
git clone https://github.com/imrannayer/terraform-workshop.git | ||
|
||
4) Check Terraform version in cloud shell | ||
|
||
terraform --version |