I just run this line terraform init to initialize my terraform but it's always show this error
Folder structure
[ROOT]/terraform/main.tf
[ROOT]/src/lambda_code.py
[ROOT]/terraform/lambda.tf
Command
terraform init -input=false -backend=false ./terraform
terraform init validate ./terraform
Error:
Too many command line arguments. Did you mean to use -chdir?
In lambda.tf I package some file need to follow this structure, so I cannot go to terraform to init with ./terraform line
how to resolve that?