Lab C4_W4_Assignment_2 Terminal always /usr/bin/bash problem

I always terminal /usr/bin/bash problem after run terraform plan or apply.

and this line of code can not help:
terraform apply -no-color 2> errors.txt
because it create only extract job in AWS Glue

image

please help me I can not continued assignment. thanks

Hello @Rames_Chanpirom,

The issue with with terraform apply -no-color 2> errors.txt is that you need to run the modules one by one:

terraform init
terraform apply
terraform apply -target=module.extract_job
terraform apply -target=module.transform_job
terraform apply -target=module.serving

For example run instead terraform apply -target=module.extract_job -no-color 2> errors.txt. Then check the errors.txt for existing resources such as de-c4w4a2_silver_db:

You could submit this form if the issue continues since the lab refresh seems to clear those resources. Note, it takes 1-2 business days to complete. Thank you