You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform (and docker Provider) Version
~/projects/terraform main* ❯ terraform -v
Terraform v1.9.5
on darwin_arm64
Your version of Terraform is out of date! The latest version
is 1.9.7. You can update by downloading from https://www.terraform.io/downloads.html
I should be able to reference a Dockerfile from any given directory within my module through variables.
Actual Behaviour
For some reason Terraform (or Docker provider) is unable to find the Dockerfile through an absolute path even though I can use cat on the generated output and have it output the contents of the file.
I have attempted to do relative paths but I still run into the same issue.
Steps to Reproduce
Create a module which has a docker_image resource and a build.dockerfile value from a variable.
Community Note
Terraform (and docker Provider) Version
Terraform Configuration Files
Website Module
Main Terraform
Debug Output
Gist
Expected Behaviour
I should be able to reference a Dockerfile from any given directory within my module through variables.
Actual Behaviour
For some reason Terraform (or Docker provider) is unable to find the
Dockerfile
through an absolute path even though I can usecat
on the generated output and have it output the contents of the file.I have attempted to do relative paths but I still run into the same issue.
Steps to Reproduce
docker_image
resource and abuild.dockerfile
value from a variable.Important Factoids
tree
outputThe text was updated successfully, but these errors were encountered: