BB-1271 Fix TF Workspace Deletion
What:
- Adds
TF_VAR_envto thepre varsjob - Adds
ci_pipeline_urlto the tags of all aws resources created by ci - Runs
tf fmt
Why:
-
TF_VAR_envwas added topre varsso that all thetfjobs would use the same variable. This was incorrectly being passed to some jobs as different values, causingterraform workspacesto stick around and resources to not properly get created or deleted. - By adding
ci_pipeline_urlwe can easily go to the pipeline in gitlab-ui to rerun/delete/create jobs that created the infra in aws.
Related Story: BB-1271
Related Images:
- ci_pipeline_url tag on a aws resource:
- workspaces getting properly deleted:
Edited by Ismail Ahmad

