2025-06-12 09:56:16 -07:00
|
|
|
[tools]
|
|
|
|
|
aws-cli = 'latest'
|
2025-06-12 15:09:24 -07:00
|
|
|
pandoc = 'latest'
|
2025-06-16 18:49:18 -07:00
|
|
|
terraform = 'latest'
|
2025-07-11 13:24:59 -07:00
|
|
|
infracost = 'latest'
|
2025-06-16 18:49:18 -07:00
|
|
|
|
2025-06-12 15:09:24 -07:00
|
|
|
# Also required:
|
|
|
|
|
# - bitwarden CLI
|
|
|
|
|
# - jq
|
2025-06-12 09:56:16 -07:00
|
|
|
|
|
|
|
|
[env]
|
2025-06-12 15:09:24 -07:00
|
|
|
_.file = '.env'
|
2025-06-12 09:56:16 -07:00
|
|
|
|
2025-06-09 21:31:41 -07:00
|
|
|
[tasks.ssh]
|
2025-06-10 10:54:13 -07:00
|
|
|
run = "ssh -p 5679 vboxuser@127.0.0.1"
|
|
|
|
|
|
2025-06-12 15:09:24 -07:00
|
|
|
[tasks.labgen]
|
2025-06-12 09:56:16 -07:00
|
|
|
run = "./utilities/pdf_make/labs.sh"
|
|
|
|
|
|
2025-06-12 15:09:24 -07:00
|
|
|
[tasks.poke-s3]
|
2025-06-12 09:56:16 -07:00
|
|
|
run = """
|
2025-06-12 15:09:24 -07:00
|
|
|
./utilities/setup_aws/use-s3.sh
|
2025-06-16 18:49:18 -07:00
|
|
|
"""
|
2025-06-22 09:45:51 -07:00
|
|
|
|
|
|
|
|
[tasks.sleep]
|
|
|
|
|
run = """
|
|
|
|
|
aws ec2 stop-instances --instance-ids $TF_VAR_EC2_INSTANCE_ID --region us-east-2
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
[tasks.wake]
|
|
|
|
|
run = """
|
|
|
|
|
aws ec2 start-instances --instance-ids $TF_VAR_EC2_INSTANCE_ID --region us-east-2
|
|
|
|
|
"""
|
2025-07-11 13:24:59 -07:00
|
|
|
|
|
|
|
|
[tasks.costs]
|
|
|
|
|
run = """
|
|
|
|
|
infracost breakdown --path .
|
|
|
|
|
"""
|