Open
Description
Describe the feature
Currently, there is no way to override buildspec
when using the CodeBuildStartBuild
task.
Use Case
I want to add a prop to configure buildspecOverride when using the CodeBuildStartBuild task.
Proposed Solution
Add a prop to configure buildspecOverride
when using CodeBuildStartBuild
task.
const task = new CodeBuildStartBuild(stack, "Task", {
project: codebuildProject,
integrationPattern: sfn.IntegrationPattern.RUN_JOB,
buildspecOverride: codebuild.BuildSpec.fromSourceFilename('buildspec.yml'),
});
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
v2.104.0
Environment details (OS name and version, etc.)
Mac