aws-samples / aws-cross-account-cicd-pipeline

Example of how to use CDK to create a CodePipeline CI/CD pipeline, and how to configure it to deploy resources on different AWS Accounts.
MIT No Attribution
111 stars 37 forks source link

AccessDenied. User doesn't have permission to call ssm:GetParameters #38

Closed devopscaxsol closed 1 year ago

devopscaxsol commented 1 year ago

Hello,

Getting Error like above when code pipeline deploy stage start execution for cross account deploy. image AnyOne have any idea...

lemked commented 1 year ago

Not a fix, but a workaround: open Parameter Store on the production account and create the parameter with name /cdk-bootstrap/hnb659fds/version and value 18 manually.

devopscaxsol commented 1 year ago

Have resolved this by adding policy access for ssm in cross account role.

lemked commented 1 year ago

Apologies, I confused this with a similar error. Documented the other error that my workaround here refers to here.