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
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
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