Commands for performing operations on Terraform states, configurations, TFE using the API, and more. Please target all PRs to the master branch, not the release branch.
When adding the -destroy parameter, I get an 404 error because the script is calling the https://app.terraform.io/api/v2/configuration-versions/endpoint without configuration_id.
Hi,
When adding the
-destroy
parameter, I get an 404 error because the script is calling thehttps://app.terraform.io/api/v2/configuration-versions/
endpoint without configuration_id.When destroy is activated the variable
$config_id
is null at this line: https://github.com/hashicorp-community/tf-helper/blob/0fba4dcce876bb5d4ff6a17cda5f56e8ddf36007/tfh/lib/tfh/cmd/tfh_pushconfig.sh#L327