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
The second configuration throws the following error:
Error: failed to read dockerfile: unexpected EOF
with docker_image.scsb_fastapi,
on main.tf line 13, in resource "docker_image""scsb_fastapi":
13: resource "docker_image""scsb_fastapi" {
Steps to Reproduce
Apply the first configuration with terraform apply, which works correctly.
Modify the configuration to the second setup (changing the context path) and run terraform apply again, which results in the "unexpected EOF" error.
Important Factoids
The reason for using the second configuration is to include additional modules from different paths into the Docker image. I’m trying to specify a different context directory for this purpose, but I’m unsure why the second configuration fails while the first works fine.
The text was updated successfully, but these errors were encountered:
Community Note
Terraform (and docker Provider) Version
Affected Resource(s)
docker_image
Terraform Configuration Files
Actual Behaviour
The second configuration throws the following error:
Steps to Reproduce
terraform apply
, which works correctly.terraform apply
again, which results in the "unexpected EOF" error.Important Factoids
The reason for using the second configuration is to include additional modules from different paths into the Docker image. I’m trying to specify a different context directory for this purpose, but I’m unsure why the second configuration fails while the first works fine.
The text was updated successfully, but these errors were encountered: