C4w4 :assignment 4 :cap stone project part 1

This is continuation to thread I created: looking for help here
for terraform plan command getting error when trying to do the extract /landing section of the assignment.

based on information provided created the error .txt file too

also we used to have a s3.tf file in the terraform/modules/extract_jobs/s3.tf , which is no longer available

Providing some of the content of the error file for reference , created after going to view> terminal and terraform plan

Error: Reference to undeclared resource

on modules/extract_job/glue.tf line 15, in resource “aws_glue_connection” “rds_connection”:
15: availability_zone = data.aws_subnet.private_a.availability_zone

A data resource “aws_subnet” “private_a” has not been declared in
module.extract_job.

Error: Reference to undeclared resource

on modules/extract_job/glue.tf line 17, in resource “aws_glue_connection” “rds_connection”:
17: subnet_id = data.aws_subnet.private_a.id