Introduction
This article will walk you through troubleshooting steps when you receive a TFC run error for HCP Packer with a 404 response.
Problem
After setting up TFC run task for HCP Packer as a pre-plan task, you may receive a 404 Not Found error as shown below:
Cause
The cause of this issue is due to the fact that the HCP Packer is meant to be a post-plan run task and it expects a plan to complete first in order to perform the data validation.
Solution
Please set the run task to occur post-plan or pre-apply.