Confusing error message when missing 'location' and 'project' #3730
Labels
bug
Something isn't working
contributions-requested
Requesting contributions from the community
docs
preserved
Preserved issues never go stale
Hi,
When I run terragrunt locally, this works:
terragrunt plan --terragrunt-working-dir=src/dir/terraform/prod/cloud
I want to make it work with Github Actions, but I am getting the following error: "ERROR Missing required GCS remote state configuration project".
The setup is as follows:
Could you help me understand what I am doing wrong?
GOOGLE_OAUTH_ACCESS_TOKEN
, but with the same result.My remote state configuration is
Again, this works fine locally, but keeps crashing on github actions. Any suggestion is welcome ! :) For example, is there a way to collect better error messages? This is very terse and I don't know how to debug further
EDIT:
It turns out that the issue was that I didn't set the
project
andlocation
keys inside theconfig
tuple of thegcs remote_state
. The error messages are confusing and it would be great to make this easier to debug! :)The text was updated successfully, but these errors were encountered: