DK
Size: a a a
DK
VT
SD
DK
SD
DK
AR
DK
DK
Error: No configuration files
Plan requires configuration to be present. Planning without a configuration
would mark everything for destruction, which is normally not what is desired.
If you would like to destroy everything, run plan with the -destroy option.
Otherwise, create a Terraform configuration file (.tf file) and try again.
DK
DK
VT
❯ docker run -ti -i hashicorp/terraform:0.12.24 console
> path.cwd
/
VT
docker run -ti -v $(PWD)/main.tf:/main.tf -i hashicorp/terraform:0.12.24 init
VT
DK
docker run -ti -v $(PWD)/main.tf:/main.tf -i hashicorp/terraform:0.12.24 init
DK
DK
❯ docker run -ti -i hashicorp/terraform:0.12.24 console
> path.cwd
/
DK
DK
VT
docker run -w=/terraform -v $(PWD):/terraform hashicorp/terraform:0.12.24 init