dell / terraform-provider-redfish

Terraform provider for Redfish REST APIs
https://registry.terraform.io/providers/dell/redfish/latest
Mozilla Public License 2.0
95 stars 21 forks source link

Fix Generate Action Issue #253

Closed taohe1012 closed 1 month ago

taohe1012 commented 1 month ago
SUMMARY

Error: running "terraform": exec: "terraform": executable file not found in $PATH Solution: remove go:generate terraform fmt -recursive ./examples/ from main.go

ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION

Release note for CHANGELOG:

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Community Note

terraform-providers-svc commented 1 month ago

Can one of the admins verify this patch?

rounak-adhikary commented 1 month ago

Hi @taohe1012 can we try adding a new step to setup terraform

- uses: hashicorp/setup-terraform@v3

after https://github.com/dell/terraform-provider-redfish/blob/main/.github/workflows/terraform-ci.yml#L78 ?

taohe1012 commented 1 month ago

Hi @taohe1012 can we try adding a new step to setup terraform

- uses: hashicorp/setup-terraform@v3

after https://github.com/dell/terraform-provider-redfish/blob/main/.github/workflows/terraform-ci.yml#L78 ?

yes @rounak-adhikary , it works ! Thanks