Skip to content

Files

Latest commit

562f6af · Jul 18, 2023

History

History

terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 16, 2023
May 31, 2022
May 27, 2022
Mar 15, 2023
Jun 13, 2023
Dec 8, 2022
May 6, 2022
Jul 18, 2023
Dec 8, 2022
Jan 9, 2023
Feb 24, 2023
Apr 4, 2023
Jan 24, 2022
Mar 15, 2023
Mar 1, 2022
Jan 9, 2023
Mar 15, 2023
Feb 23, 2023
Mar 15, 2023

terraform

This folder handles the Terraform configuration for TVM Jenkins Infrastructure.

Local Usage

# if anything is broken, remove all terraform local files
git clean -xfd .

# set credentials
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...

# get terraform state
terraform init

# the workspace must be selected or else 'plan' will not read the correct state
terraform workspace new tvm-ci-prod
terraform workspace select tvm-ci-prod

# run the actual plan against AWS
terraform plan -var-file=vars/tvm-ci-prod.auto.tfvars