You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[aws-cdk-pipelines] Cannot assume role by code pipeline on code pipeline action AWS CDK #22489
Im receiving an error when I try to deploy a CDK template using python. The message says "XXX is not authorized to perform AssumeRole on role XXXXX (Service: AWSCodePipeline Error Code: InvalidStructureException) (module name): (short issue description)"
Im not using a constructor for the core CodePipeline but im using the examples from the documentation:
`
from aws_cdk.pipelines import CodePipeline, ShellStep, CodePipelineSource, ManualApprovalStep
If I try to deploy the same package on another account all is OK
Expected Behavior
I expect to be able to deploy the base pipeline
Current Behavior
Im receiving an error when I try to deploy a CDK template using python. The message says "XXX is not authorized to perform AssumeRole on role XXXXX (Service: AWSCodePipeline Error Code: InvalidStructureException) (module name): (short issue description)"
Reproduction Steps
`
from aws_cdk.pipelines import CodePipeline, ShellStep, CodePipelineSource, ManualApprovalStep
If I try to deploy the same package on another account all is OK
This isn't really a bug report but a request for assistance in debugging an account's permissions setup. That's not what GitHub issues are for, I'm converting this to a discussion and hope someone else will be able to assist you there.
Activity
rix0rrr commentedon Nov 8, 2022
This isn't really a bug report but a request for assistance in debugging an account's permissions setup. That's not what GitHub issues are for, I'm converting this to a discussion and hope someone else will be able to assist you there.