- Newest
- Most votes
- Most comments
Hi, I think I have the same problem. This is the auth problem I get in CloudFormation:
This is the AmazonSageMakerAdmin-ServiceCatalogProductsServiceRolePolicy policy, the one attached to the Amazon SageMaker ServiceCatalog ProductsLaunch Role.
As you can see, it only allows actions from codestar-connections to codestar-connections resources; and from codeconnections to codeconnections resources. However, the problem is that the action triggered in Cloudformation from the Project template links a codestar-connections action to a codeconnection resource: it mixes both names. And, of course, the action is denied, because the policy does not have an explicit allow for that mix.
I think those policies should be reviewed, because codepipeline seems to keep providing the codestar source connection (https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodestarConnectionSource.html). So, if you provide a connection created recently (whose ARN now includes codeconnection), you will get that mixed reference when the template is deployed.
Until a solution arrives, you can attach a custom policy to the Amazon SageMaker ServiceCatalog ProductsLaunch Role:
Hope it helps!!
answered a year ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
