After configuring the connection in the pipeline settings, I applied the ARN as shown below:
const pipeline = new CodePipeline(this,'SettingsPipeline' , {
pipelineName: 'SettingsPipeline',
synth: new CodeBuildStep('SynthStep', {
input: CodePipelineSource.connection('adamnjg/CDKSettings', 'main', {
connectionArn: 'arn:aws:codestar-connections:eu-west-2:682167722541:connection/36ee3cf9-b409-4a94-ba54-b787081492b4'
}),
installCommands: [
'npm install -g aws-cdk'
],
commands: [
'npm ci',
'npm run build',
'npx cdk synth'
]
})
})
When I manually trigger the pipeline in the console, it receives the code from the repository without any issue, and the webhook in Bitbucket shows a successful 200 response.
Do you have any insights into what might be missing?