C1w2 4.8 error

Hi! on step 4.8 shows error.


on first time its created, but failed on step 4.11. now nothing helps to finish step 4.8

Hello @Knefedyev,

It seems you have Insufficient Lake Formation Permissions and need to fill this form for a lab refresh. Note, it takes 2 business days to complete. Your error in 4.11 could have failed in the AWS console because of this message:

Then in step 4.8 you could run the command terraform apply -no-color 2> errors.txt instead ofterraform apply and find in the errors.txt what cause the terminal to close:


it skipping right away to this when use both ways ‘terraform apply’ and ‘terraform apply -no-color 2> errors.txt’
filled the form indicated

@Knefedyev there should be an errors.txt appeared in the directory files at the left. After submitting the form you need to wait 1-2 business days, thanks

Hello @Knefedyev,

That will do, could you go to the AWS console you opened with that cat command before. You could try to find and delete those resources.

Go to AWS glue > databases and there should be de-c1w2-analytics-db and try to delete that.

Also in AWS glue find connections and delete de-c1w2-rds-connections

Finally IAM > roles and do the same with de-c1w2-glue-role

Try again the same steps to succeed 4.8. thank you

there is no such file

deleted connections
IAM cannot delete: mssg: Access denied to iam:DeleteRolePolicy

User: arn:aws:sts::688102812856:assumed-role/voclabs/user3996428=fktzuahzecnx

Action: iam:DeleteRolePolicy

Context: no identity-based policy allows the action

@Knefedyev could you go to recently visited and click AWS glue in the left side AWS glue > databases you should find be de-c1w2-analytics-db and try to delete that. Thank you

@Knefedyev you could try from the terminal with that command glue delete-database --name de_c1w2_analytics_db and see if you have Insufficient Lake Formation Permissions issues. The lab refresh should fix that, hope it helps

image

Sorry @Knefedyev I mean aws glue delete-database --name de_c1w2_analytics_db. It starts with aws, thanks

image

@Knefedyev if there is nothing in AWS glue databases you could wait for a new lab session. That should clear these resources and a lab refresh will fix any Insufficient permissions. Sorry for the inconvenience this causes, thanks

if support fixed the lab, but now cant even get aws url link and source scripts/setup.sh gives error messages, i need to fill the form again?

All good now, thanks

1 Like