C3_W1 Assignment Permission Issue on CreateHyperParameterTuningJob

Any moderator or course support personnel here who can look into the AWS SCP permissions? Details are given as below (Almost all the labs have this issue and none of the lab actually I have completed…!!):

ClientError: An error occurred (AccessDeniedException) when calling the CreateHyperParameterTuningJob operation: User: arn:aws:sts::703108177073:assumed-role/sagemaker-studio-vpc-firewall-us-east-1-sagemaker-execution-role/SageMaker is not authorized to perform: sagemaker:CreateHyperParameterTuningJob on resource: arn:aws:sagemaker:us-east-1:703108177073:hyper-parameter-tuning-job/pytorch-training-231018-0411 with an explicit deny in a service control policy

2 Likes

Same with C3_W2 as well with the following error given below:

ClientError: An error occurred (AccessDeniedException) when calling the CreateEndpointConfig operation: User: arn:aws:sts::644616272884:assumed-role/sagemaker-studio-vpc-firewall-us-east-1-sagemaker-execution-role/SageMaker is not authorized to perform: sagemaker:CreateEndpointConfig on resource: arn:aws:sagemaker:us-east-1:644616272884:endpoint-config/ab-1697611744 with an explicit deny in a service control policy

2 Likes

Same with C3_W3 as well with following error given below:

ClientError: An error occurred (AccessDeniedException) when calling the CreateEndpointConfig operation: User: arn:aws:sts::403632958197:assumed-role/sagemaker-studio-vpc-firewall-us-east-1-sagemaker-execution-role/SageMaker is not authorized to perform: sagemaker:CreateEndpointConfig on resource: arn:aws:sagemaker:us-east-1:403632958197:endpoint-config/endpoint-1697620564 with an explicit deny in a service control policy

2 Likes

I am getting the same error too which I think it is because of the restrictions of AWS on some country IPs.

2 Likes

Hi,

You might want to follow up in the thread given below:

Cheers…!!

1 Like