I tried to use resource aws_glue_job, but as soon as it's prepared to be launched, an error is shown as follows:
│ Error: error creating Glue Job (job): AccessDeniedException: Account 411xxxxxxxx (Account id) is denied access.
│
│ with aws_glue_job.job,
│ on main.tf line 94, in resource "aws_glue_job" "job":
│ 94: resource "aws_glue_job" "job" {
I checked the policies and apparently is okay. What might be doing it?
CodePudding user response:
For some reason my issue was solved by creating and using a new account. This account being used previously was for test, that is why I did have no problems by changing It to a new one
CodePudding user response:
We still have the same problem; even with sub-accounts of a totally new account. It seems like more and more people have the same issue:
- Access Denied for Glue_Job in terraform
- AWSGlue AccessDeniedException, Status Code 400
- Access Denied When Create AWS Glue Crawler
- AWS Glue gives AccessDeniedException
- https://repost.aws/questions/QUhxdKlj4VSF-dzTXo7Xt3Iw/aws-glue-access-denied-exception-status-code-400
- https://repost.aws/questions/QU7wLjCe0rR_Wp5VFgVKTIbg/unable-to-run-create-glue-job-from-root-user-getting-access-denied-exception