1 Answer
- Newest
- Most votes
- Most comments
2
What is the source of your terraform modules? Are they absolute paths or References to a Git source?
If they are absolute and local modules it will work.
If using a GIT reference to a tag/commit then you will need to auth to bitbucket using something like a SSH key or store the credentials in something like Parameter store and download them during the build so that no credentials are stored in the code.
Relevant content
- asked 3 years ago
- Accepted Answerasked 2 years ago
- asked 7 months ago
- asked 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 months ago
I'm using a git reference to a tag. The module source is from the same bitbucket workspace as the source I pulled the terraform code from, so I expected the module to be accessible with the same git credentials.
Terraform needs its own git credentials I’m afraid. Or use a terraform registry etc