Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform has no command named "run-all" , when running terragrunt run-all init or run-all apply #57

Closed
advissor opened this issue May 5, 2021 · 1 comment · Fixed by #58

Comments

@advissor
Copy link

advissor commented May 5, 2021

When doing terragrunt run-all , looks like terragrunt can't pass correctly the commands to terrafrom
Executed inside of "terraform folder"


Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[terragrunt] 2021/05/05 17:12:09 Running command: terraform run-all init
Terraform has no command named "run-all".

To see all of Terraform's top-level commands, run:
  terraform -help

[terragrunt] 2021/05/05 17:12:10 Hit multiple errors:
Hit multiple errors:
exit status 1

Version of terragrunt and terraform :

➜ terraform git:(main) terragrunt --version
terragrunt version v0.27.1

➜ terraform git:(main) terraform version

Terraform v0.15.1
on darwin_amd64

I guess maybe it is due to terraform 15 and need for terragrunt 0.29
Can you please confirm

@advissor
Copy link
Author

advissor commented May 5, 2021

After upgrade of terragrunt to 0.29.2, error was gone

From Release letter of 0.29

"Update Terragrunt to work with Terraform 0.15. There are no code or behavior changes, but marking this release as incompatible because from this release onwards, we are only testing with Terraform 0.15 and up."

@advissor advissor closed this as completed May 5, 2021
khalezin added a commit that referenced this issue May 5, 2021
khalezin added a commit that referenced this issue May 5, 2021
@khalezin khalezin linked a pull request May 5, 2021 that will close this issue
khalezin added a commit that referenced this issue May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant