2 Answers
- Newest
- Most votes
- Most comments
3
Hello.
Reading the error contents, it seems that the action "amplify:CreateBackendEnvironment" is not set in the IAM policy.
Your shared IAM policy does not have "amplify:CreateBackendEnvironment" set, so try adding it.
https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsamplify.html
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"amplify:CreateApp",
"amplify:CreateBranch",
"amplify:CreateDeployment",
"amplify:CreateDomainAssociation",
"amplify:CreateBackendEnvironment", <--- add
"amplify:DeleteApp",
"amplify:DeleteBranch",
"amplify:DeleteDomainAssociation",
"amplify:DeleteJob",
"amplify:GetApp",
"amplify:GetBranch",
"amplify:GetDomainAssociation",
"amplify:GetJob",
"amplify:GetWebhook",
"amplify:ListApps",
"amplify:ListArtifacts",
"amplify:ListBranches",
"amplify:ListDomainAssociations",
"amplify:ListJobs",
"amplify:ListTagsForResource",
"amplify:ListWebhooks",
"amplify:StartDeployment",
"amplify:StartJob",
"amplify:StopJob",
"amplify:TagResource",
"amplify:UntagResource",
"amplify:UpdateApp",
"amplify:UpdateBranch",
"amplify:UpdateDomainAssociation",
"amplify:UpdateWebhook"
],
"Resource": "*"
}
]
}
Relevant content
- Accepted Answerasked 9 months ago
- I tried to delete my ACM certificate but received an error that it's in use with other AWS resourcesAWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago