Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 885 Bytes

README.md

File metadata and controls

55 lines (38 loc) · 885 Bytes

terraform-vault-demo

The demonstration for my talk at the Hashicorp User Group Paris #2

Demo Terraform

Export the right AWS_DEFAULT_PROFILE variable and simply run:

cd demo_tf
./run.sh

To clean everything:

./clean.sh

Demo Vault

Simply run:

cd demo_vault
./run.sh

To clean everything:

./clean.sh

Demo Vault AWS

Export the right AWS_DEFAULT_PROFILE. You have to replace the strings %ROOT_ACCOUNT_ID% and %TARGET_ACCOUNT_ID% by their respective values in the demo_vault_aws directory.

cd demo_vault_aws
./run.sh

Demo Terraform + Vault + AWS

./run_terraform.sh

You can then connect to the newly created instance and look at the file /home/admin/secret.txt.

To clean up the last two demos, change the AWS_DEFAULT_PROFILE variables in the clean.sh script and then run it.