Hello, I’m currently working on the Terraform portion of the project, but I’m running into repeated issues when running terraform plan
, apply
, or destroy
. The CLI keeps prompting me for all the input variables, and even when I try to proceed, I receive errors such as:
1.Prompt for every variable like catalog_database
, redshift_host
, etc.
2.Error: “Invalid value for input variable redshift_port
: a number is required.”
3. Error: “multiple EC2 Subnets matched” and “multiple EC2 Security Groups matched”
I also tried running terraform apply -no-color 2> errors.txt
and terraform destroy
, but I still get stuck with these error :
Hello @khusha
You need to run source scripts/setup.sh
before running the terraform commands. Whenever your terminal crashes or you open another terminal instance for any reason, you need to rerun this command so that terraform variables get their values.
1 Like