chore(enos): Add debug variable (#3037)
This commit is contained in:
1 parent
ab0a2ad689
commit
54aad4d292
9 files changed
+35
-6
No files matched your search
@@ -110,11 +110,7 @@ Launch an enos scenario and print out the environment variables
|
||||
```
|
||||
cd enos
|
||||
enos scenario launch e2e_{scenario} builder:local
|
||||
enos scenario output
|
||||
cd .enos
|
||||
ls -ltr
|
||||
cd <most_recent_directory> # bottom of list
|
||||
terraform show -json terraform.tfstate | jq -r '.values.root_module.child_modules[].resources[] | select(.address=="module.run_e2e_test.enos_local_exec.run_e2e_test") | .values.environment | to_entries[] | "export \(.key)=\(.value)"'
|
||||
bash scripts/test_e2e_env.sh
|
||||
```
|
||||
|
||||
Take the printed environment variable information and export them into another terminal session
|
||||
|
||||
Reference in new issue
Block a user