1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
The error message you are seeing, "User is not permitted to perform operation: CreateEnvironmentProfile (Service: DataZone, Status Code: 403)," indicates that the IAM role or user executing the CloudFormation stack does not have the necessary permissions to perform the CreateEnvironmentProfile operation.
To resolve this issue, you need to ensure that the IAM role or user running the CloudFormation stack has the necessary permissions, attach the IAM policy to the IAM role or user executing the CloudFormation stack.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"datazone:CreateEnvironmentProfile",
"datazone:GetEnvironmentProfile",
"datazone:UpdateEnvironmentProfile",
"datazone:DeleteEnvironmentProfile",
"datazone:ListEnvironmentProfiles"
],
"Resource": "*"
}
]
}
Relevant content
- asked 8 months ago
- asked 4 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 9 months ago
Hi Sivaraman, I added this permission to my user as I'm running the stack, but it still gives me the same error.
Resource handler returned message: "User is not permitted to perform operation: CreateEnvironmentProfile (Service: DataZone, Status Code: 403, Request ID: ab96d5d3-0835-4812-9c19-88aef843706b)" (RequestToken: 579e83e8-bef1-3eb1-7bb5-b5e84974361f, HandlerErrorCode: AccessDenied)