I'm trying to run a "Terragrunt plan -out=$PLAN" but it seems I'm unable to? My goal here is to output a plan then show the plan and post to a GitLab merge request.
How should I go about accomplishing this?
Here is what I have so far:
- terragrunt plan -out $PLAN
- "terragrunt show --json $PLAN | convert_report > $JSON_PLAN_FILE"
artifacts:
paths:
- $PLAN
reports:
terraform: $JSON_PLAN_FILE
only:
- merge_requests