A CodePipeline pipeline in account A builds an artifact in account B and must deploy it through an action in account C in another Region. The team has configured regional artifact stores, customer managed KMS keys, and deployment roles, but cannot pass the B-produced artifact directly to C. Which redesign preserves one pipeline and avoids rebuilding?
Show the answer
Correct answerA. Run the build in account A and pass its artifact to account C
AWhy this is right: Producing the artifact in the pipeline account allows the deployment action in account C to consume it.
BWhy not this: S3 permissions do not remove CodePipeline's restriction on artifact passing between two non-pipeline accounts.
CWhy not this: Approval does not change the artifact's producing account or its eligibility for cross-account consumption.
DWhy not this: Changing key ownership does not make this cross-account artifact flow supported.
Cross-account artifact passing supports artifacts produced in the pipeline account and consumed in another account. An artifact cannot pass directly between two accounts that are both different from the pipeline account; broader S3 or KMS permissions do not remove that restriction.