Tunning terraform apply is giving the following error.
╷
│ Error: Missing required argument
│
│ The argument "domain" is required, but was not set.
I searched all my project folders including the files in .terraform folder, but I could not locate that variable.
How do I know which terraform script was giving that error?
If you need to enable debug in terraform, add TF_LOG=debug before normal terraform commands in Linux, such as:
TF_LOG=debug terraform plan
For your issue, you miss to feed the variable value. Try:
terraform plan -var domain=xxxx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With