# C1W4 Assignment errors

**URL:** <https://community.deeplearning.ai/t/c1w4-assignment-errors/882575>\
**Category:** Introduction to Data Engineering\
**Tags:** week-module-4\
**Created:** [November 2, 2025, 11:56am UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575 "2025-11-02T11:56:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pitbool](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@Pitbool](https://community.deeplearning.ai/u/Pitbool)\
**Post date:** [November 2, 2025, 11:56am UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/1 "2025-11-02T11:56:34Z")

</div>

I have a problem with terraform in assignment for Module 4 (week 4):

When I came up to step where we create vector db, I received an error and cannot finish the lab.

---

<div class="post-metadata">

**Author:** ![alina\_toma](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@alina\_toma](https://community.deeplearning.ai/u/alina_toma)\
**Post date:** [November 9, 2025, 9:09am UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/2 "2025-11-09T09:09:48Z")

</div>

I also have an error with the same lab. I restarted the lab a few times and I get an error when I run the Glue job. It fails and is not saving data to s3 datalake bucket. Because of that, I can’t move forward and create the vector database. Please reset my files at the initial version. Lab id is qgicvkfrcars. I am trying to overcome this issue since 2 weeks, also filled in the form.

---

<div class="post-metadata">

**Author:** ![HaneenAloufi98](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@HaneenAloufi98](https://community.deeplearning.ai/u/HaneenAloufi98)\
**Post date:** [December 4, 2025, 5:35am UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/3 "2025-12-04T05:35:52Z")

</div>

Any updates? I’m facing the same issue

---

<div class="post-metadata">

**Author:** ![michaelltaif](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@michaelltaif](https://community.deeplearning.ai/u/michaelltaif)\
**Post date:** [December 11, 2025, 11:53am UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/4 "2025-12-11T11:53:06Z")

</div>

Hi - also facing same issue with Terraform, getting failed connection to the EC2 instance, lab id is mdbdekbpyqzq - please reset my lab

---

<div class="post-metadata">

**Author:** ![\_ja\_rafal](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/_ja_rafal/32/122608_2.png) [@\_ja\_rafal](https://community.deeplearning.ai/u/_ja_rafal)\
**Post date:** [December 29, 2025, 3:56pm UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/5 "2025-12-29T15:56:26Z")

</div>

Same problem here: lab nunpqirrwhhe

---

<div class="post-metadata">

**Author:** ![shans\_sri](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shans\_sri](https://community.deeplearning.ai/u/shans_sri)\
**Post date:** [January 18, 2026, 1:47pm UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/6 "2026-01-18T13:47:36Z")

</div>

I am unable to get the Glue ETL job created. DE course W2 assignment, aws\_iam\_role.glue\_role: Creating…  
aws\_glue\_connection.rds\_connection: Creating…  
aws\_glue\_catalog\_database.analytics\_database: Creating…  
╷  
│ Error: creating Glue Catalog Database (c1-w2-analytics-db): operation error Glue: CreateDatabase, https response error StatusCode: 400, RequestID: 6bda5be7-f04e-46db-b0e6-4b07bb43a00a, api error AccessDeniedException: User: arn:aws:sts::776891697164:assumed-role/voclabs/user4731588=aikflruedvdv is not authorized to perform: glue:CreateDatabase on resource: arn:aws:glue:us-east-1:776891697164:database/c1-w2-analytics-db because no identity-based policy allows the glue:CreateDatabase action  
│  
│ with aws\_glue\_catalog\_database.analytics\_database,  
│ on glue.tf line 1, in resource “aws\_glue\_catalog\_database” “analytics\_database”:  
│ 1: resource “aws\_glue\_catalog\_database” “analytics\_database” {  
│  
╵  
╷  
│ Error: creating Glue Connection (c1-w2-rds-connection): operation error Glue: CreateConnection, https response error StatusCode: 400, RequestID: 557f4d37-9a11-45dd-9f8b-5686e2170c6e, api error AccessDeniedException: User: —- is not authorized to perform: glue:CreateConnection on resource: arn:aws:glue:us-east-1:776891697164:connection/c1-w2-rds-connection because no identity-based policy allows the glue:CreateConnection action

---

<div class="post-metadata">

**Author:** ![nani1998](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@nani1998](https://community.deeplearning.ai/u/nani1998)\
**Post date:** [January 21, 2026, 8:54pm UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/7 "2026-01-21T20:54:10Z")

</div>

![Screenshot 2026-01-21 at 2.52.48 PM](https://global.discourse-cdn.com/dlai/original/3X/0/3/03caa8396416147e4c8c4d041f209447134797ab.png)

I am getting these error in week 4 assignment. Can any one please help me with these

Lab Id:wlyyyheboljb

---

<div class="post-metadata">

**Author:** ![masterrohan98](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@masterrohan98](https://community.deeplearning.ai/u/masterrohan98)\
**Post date:** [January 26, 2026, 1:29pm UTC](https://community.deeplearning.ai/t/c1w4-assignment-errors/882575/8 "2026-01-26T13:29:38Z")

</div>

Did you manage to fix the issue? If yes, please help me out too. 🙂
