cross account pipeline artifact denied
codepipeline-cross-account-artifact-accessSend the pipeline definition plus the artifact bucket policy, artifact key policy and the roles involved. Checks every cross account action for the seven things that must line up across both accounts: Regional artifact store, customer managed key named by ARN, key policy, bucket policy, action role permissions, trust, and the pipeline role's permission to assume. Returns each failing item with the generated statement or pipeline change. Use when the error reads: Access Denied (Service: Amazon S3) in a cross account action | The ciphertext refers to a customer master key that does not exist | is not authorized to perform: sts:AssumeRole on resource: | Insufficient permissions: unable to access the artifact. Covers: Pipelines with S3 artifact stores and actions that name a roleArn in another account. Evaluates supplied policies only. Does not check the deployment's own permissions inside the target account. Price: 8.00 USDC on Base via x402, charged only when the case is solved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pipeline": "<pipeline>",
"pipeline_account_id": "<pipeline_account_id>",
"pipeline_region": "<pipeline_region>"
},
"name": "codepipeline-cross-account-artifact-access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | Keyed by role ARN: the pipeline role (identity_policies) and each cross account action role (trust_policy and identity_policies). | |
| kms_keys | No | Artifact keys keyed by the encryptionKey id used in the pipeline. | |
| pipeline | Yes | The pipeline object from aws codepipeline get-pipeline --name NAME. | |
| error_message | No | ||
| failing_action | No | Name of the action that fails. Omit to check every cross account action. | |
| bucket_policies | No | Artifact bucket policies keyed by bucket name. | |
| pipeline_region | Yes | ||
| pipeline_account_id | Yes |