updating scripts
This commit is contained in:
parent
5dcb6ea56f
commit
5bce0dbda4
12
labs/setup_c9.sh
Normal file
12
labs/setup_c9.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
sudo yum update -y
|
||||
|
||||
wget https://releases.hashicorp.com/terraform/1.8.1/terraform_1.8.1_linux_amd64.zip -P ~/
|
||||
unzip ~/terraform_1.8.1_linux_amd64.zip -d ~/.
|
||||
sudo mv ~/terraform /usr/local/bin
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
echo "alias python='python3'
|
||||
alias tf='terraform'
|
||||
alias c='clear'" >> ~/.bashrc
|
@ -1,4 +1,5 @@
|
||||
account_number=920628590621
|
||||
account_number=211125385450
|
||||
student_initials="jk"
|
||||
student_full_name="Jakub Kasprzak"
|
||||
student_index_no = "12345"
|
||||
lab_role_arn = "arn:aws:iam::211125385450:role/LabRole"
|
@ -29,3 +29,9 @@ variable "student_index_no" {
|
||||
description = "Index no"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "lab_role_arn" {
|
||||
description = "the role we use for all labs, dont use a single role for everything! it is an anti-pattern!!!!"
|
||||
type = string
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
account_number=920628590621
|
||||
account_number=211125385450
|
||||
student_initials="jk"
|
||||
student_full_name="Jakub Kasprzak"
|
||||
student_index_no = "12345"
|
||||
lab_role_arn = "arn:aws:iam::211125385450:role/LabRole"
|
@ -29,3 +29,9 @@ variable "student_index_no" {
|
||||
description = "Index no"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "lab_role_arn" {
|
||||
description = "the role we use for all labs, dont use a single role for everything! it is an anti-pattern!!!!"
|
||||
type = string
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user