1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
If you are using CloudFormation to provision the CodeBuild project (Assuming you are using a CodeBuild Project for your Build stage) It has the override artifact name property (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html) that allows for the name to be overridden in the buildspec.yml file.
This should allow you to do what you want as it allows the artifact name to be defined at build time.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
I am using terraform to provision infrastructure. I tried the above solution but it did not work. Codepipeline is giving a unique name for the build everytime.
Good link. It's also worth noting on that page it says the following:
Name If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild.