1 個回答
- 最新
- 最多得票
- 最多評論
0
How about the following document as a reference?
Samples are provided for cases with multiple artifacts.
You can create multiple output artifacts in buildspec.yml.
https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
i was asking about Cloudformation script for codebuild to generate those artifacts.
Sorry, I misread that.
I checked the documentation and it certainly does not appear that CloudFormation supports the creation of secondary artifacts.
The following AWS CLI and SDK documents seem to indicate that the API itself supports the creation of secondary artifacts, so currently the only way to create them is by using CloudFormation's custom resources. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_project.html https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codebuild/create-project.html
For more information on custom resources, please refer to the following documents. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html