-
-
Notifications
You must be signed in to change notification settings - Fork 42
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 init
for apply pipeline fails when using modules inside same repo
#1586
Comments
weird thing is, i tried removing the follwoing block and leaving in the fix mentioned above. again the pipeline fails. seems like it needs both sections.
|
Thank you for your feedback. https://developer.hashicorp.com/terraform/language/modules/sources#generic-git-repository
I think a GitHub token set by Maybe a GitHub token set by According to the above code, a GitHub token set by |
but the setup step was able to download modules when i gave |
Hmm. It's weird. I'm not sure why. |
tfaction version
1.2.3
Overview
I have modules in the same repo
the plan step works but when applying the pipeline
terraform init
failsHow to reproduce
tfaction-root.yaml
tfaction.yaml
GitHub Actions Workflow
Other related code such as local Registry
GitHub Actions' log
Expected behaviour
terraform inti
in plan and apply pipelines should complete without error since we haveActual behaviour
but it also seems to depend on
Important Factoids
No response
Note
to fix the issue i have to give
content: read
toThe text was updated successfully, but these errors were encountered: