Skip to main content
Solved

ACE Automation - Lab 3 Issue with GitHub API action

  • April 4, 2025
  • 1 reply
  • 58 views

Dariusz_Terefenko
Forum|alt.badge.img+1

GitHub action doesn’t work as it gets stuck not able to do init

 

Run terraform fmt -check

6/home/runner/work/_temp/9c2fd51a-0563-4b86-b9ce-7955e6efdb0e/terraform-bin fmt -check

7

8Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

9

10Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

11

12Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

 


 

Run terraform init

6/home/runner/work/_temp/9c2fd51a-0563-4b86-b9ce-7955e6efdb0e/terraform-bin init

7Initializing the backend...

8organization

9 The name of the organization containing the targeted workspace(s).

 


 

Any guesses why?

Best answer by Dariusz_Terefenko

If any of you have the same issue please use these:

https://github.com/hashicorp-education/learn-terraform-github-actions/blob/main/.github/workflows/terraform-plan.yml

https://github.com/hashicorp-education/learn-terraform-github-actions/blob/main/.github/workflows/terraform-plan.yml

 

Pretty much same way as described in Hashicorp documentation.

https://developer.hashicorp.com/terraform/tutorials/automation/github-actions