hashicorp / tfc-workflows-github

HCP Terraform starter workflows and github actions to automate Terraform Cloud CI/CD pipelines.
Mozilla Public License 2.0
124 stars 20 forks source link

error: No Terraform configuration files found in working directory on create-run #25

Closed anuborah closed 9 months ago

anuborah commented 9 months ago

i am trying to run the hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 before running the hashicorp/tfc-workflows-github/actions/upload-configuration@v1.0.0. The upload configuration run successfully and I have passed the configuration_version_id to the hashicorp/tfc-workflows-github/actions/create-run@v1.0.0 steps in the workflow as per the documentation here : https://developer.hashicorp.com/terraform/tutorials/automation/github-actions , but still in the Terraform Workspace I am getting the below error:

image

Please help me out on this. Thanks

srlynch1 commented 9 months ago

Can you share your repo it's hard to determine what happening without this and your pipeline

anuborah commented 9 months ago

Sorry it was my mistake as the directory was configured in the workspace and also same directory path I have configured in the GHA. now its working fine